Welcome! Log In Create A New Profile

Advanced

Re: TLS/SSL Cache Automatic Purge

B.R.
April 11, 2016 07:26AM
Sounds like US media political messages: 'I am Arnaud, and I approve this
message'. That said, welcome!

You will have to write your own module if you want to manually delete TLS
sessions parameters instead of letting them expire after 10 minutes.
You could also emulate this daily purge by keeping stock nginx but setting :
ssl_session_timeout 1d;
albeit I for one do not recommend such settings since sessions parameters
should probably not be remembered that long for several reasons...

On a side-note, by default nginx does not store session parameters as it
prefers tickets
<http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_session_tickets>,
supported since v1.5.9, over sessions ID.
The former is a more recent mechanism than the latter, and has the notable
benefit of storing session parameters client-side, which scales, avoids
cache management trouble as yours and some other ones. There are some docs
<http://chimera.labs.oreilly.com/books/1230000000545/ch04.html#TLS_RESUME>
about that in the Web tubes.
Why not sticking with those defaults (or even set ssl_session_cache to off
to be absolutely clear)?
---
*B. R.*

On Mon, Apr 11, 2016 at 10:41 AM, Arnaud Van der Vorst <sbxara@icloud.com>
wrote:

> Hi,
>
>
>
> My name is Arnaud and I am new to the list.
>
>
>
> I would like to know if NGINX is using any automatic purge mechanism for
> its TLS/SSL Cache configured using the following directives:
>
> ssl_session_timeout 10m;
>
> ssl_session_cache shared:SSL:10m;
>
>
>
> I understand that a daily purge of TLS/SSL Cache is highly recommended to
> avoid breaking Perfect Forward Secrecy of the TLS Protocol.
>
> If it does NOT use automatic purge, how can I purge the Shared cache used
> by NGINX then?
>
> Are there any command line tools for that purpose?
>
>
>
> Thank you very much in advance for your answer and have a nice day!
>
>
>
> Kind regards,
>
>
>
> Arnaud
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

TLS/SSL Cache Automatic Purge

Arnaud Van der Vorst April 11, 2016 04:42AM

Re: TLS/SSL Cache Automatic Purge

B.R. April 11, 2016 07:26AM

RE: TLS/SSL Cache Automatic Purge

Arnaud Van der Vorst April 11, 2016 08:24AM

Re: TLS/SSL Cache Automatic Purge

Maxim Dounin April 11, 2016 09:32AM

opinions about Session tickets

A. Schulze April 11, 2016 11:18AM

RE: opinions about Session tickets

Arnaud Van der Vorst April 12, 2016 02:34AM

AW: RE: opinions about Session tickets

Lukas Tribus March 28, 2017 07:54PM

RE: opinions about Session tickets

Lukas Tribus April 12, 2016 05:18AM

Re: RE: opinions about Session tickets

alweiss March 28, 2017 04:42PM

Re: TLS/SSL Cache Automatic Purge

B.R. April 11, 2016 04:18PM

RE: TLS/SSL Cache Automatic Purge

Arnaud Van der Vorst April 12, 2016 02:32AM

RE: TLS/SSL Cache Automatic Purge

Lukas Tribus April 12, 2016 05:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 127
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