Welcome! Log In Create A New Profile

Advanced

Re: Distributed SSL session cache

Maxim Dounin
September 30, 2013 10:52AM
Hello!

On Sat, Sep 28, 2013 at 10:37:39PM +0400, kyprizel wrote:

> On Sat, Sep 28, 2013 at 10:14 PM, Piotr Sikora <piotr@cloudflare.com> wrote:
>
> > Hi,
> >
> > > My patch was designed not to use multiple keyfiles and keynames in nginx
> > > config so it's able to rotate keys with simple logic, only updating
> > keyfile.
> >
> > IMHO, that makes the key rollover much harder than it should be, that
> > is: you need to regenerate keyfile with number of older keys + new one
> > vs just add new key (and optionally remove some of the old ones).
> >
> >
> That depends on key distribution scheme - you can distribute only new keys
> and store old keys on nginx server only.
> But with your patch you should also rotate "default" key in nginx config
> and it complicates the logic (in my schema) a bit.
> Anyway - I'm not sure if keyname is meaningful parameter in periodic key
> rotation scheme. For me - it is not.

I agree that logic suggested by Piotr looks a bit too complicated.
On the other hand, the one in your patch doesn't looks easy for
automation as well. I don't think it would be trivial to generate
keys in PEM format (feel free to prove I'm wrong), and rotate them
once they are in a single file.

BTW, just in case somebody haven't seen this before, here is a
link for relevant Apache directive which uses 48-byte binary file:

http://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslsessionticketkeyfile

--
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Distributed SSL session cache

kyprizel 2229 September 14, 2013 06:54AM

Re: Distributed SSL session cache

kyprizel 1316 September 16, 2013 03:16AM

Re: Distributed SSL session cache

Piotr Sikora 1169 September 16, 2013 04:32AM

Re: Distributed SSL session cache

kyprizel 953 September 16, 2013 05:04AM

Re: Distributed SSL session cache

Piotr Sikora 894 September 16, 2013 05:14AM

Re: Distributed SSL session cache

Maxim Dounin 904 September 16, 2013 07:56AM

Re: Distributed SSL session cache

Maxim Dounin 806 September 16, 2013 03:16AM

Re: Distributed SSL session cache

nginxorg 1226 September 16, 2013 03:16AM

Re: Distributed SSL session cache

Maxim Dounin 805 September 16, 2013 03:16AM

Re: Distributed SSL session cache

Daniel Black 813 September 16, 2013 09:00AM

Re: Distributed SSL session cache

Daniel Black 768 September 16, 2013 09:22AM

Re: Distributed SSL session cache

Maxim Dounin 1217 September 16, 2013 09:38AM

Re: Distributed SSL session cache

kyprizel 886 September 27, 2013 11:54PM

Re: Distributed SSL session cache

Piotr Sikora 857 September 28, 2013 06:06AM

Re: Distributed SSL session cache

kyprizel 813 September 28, 2013 01:54PM

Re: Distributed SSL session cache

Piotr Sikora 829 September 28, 2013 02:16PM

Re: Distributed SSL session cache

kyprizel 822 September 28, 2013 02:38PM

Re: Distributed SSL session cache

Maxim Dounin 778 September 30, 2013 10:52AM

Re: Distributed SSL session cache

kyprizel 842 September 30, 2013 11:16AM

Re: Distributed SSL session cache

Maxim Dounin 810 September 30, 2013 11:32AM

Re: Distributed SSL session cache

kyprizel 863 September 30, 2013 12:16PM

Re: Distributed SSL session cache

Maxim Dounin 795 September 30, 2013 02:02PM

Re: Distributed SSL session cache

kyprizel 879 October 01, 2013 09:38AM

Re: Distributed SSL session cache

Maxim Dounin 913 October 02, 2013 06:40AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 70
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready