Welcome! Log In Create A New Profile

Advanced

TLS session resumption (identifier)

B.R.
March 03, 2016 06:52AM
Hello,

Based on the default value of ssl_session_cache
<http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_session_cache>,
nginx does not store any session parameter, but allows client with the
right Master Key to reuse their ID (and the parameters they got).

Since nginx, does not cache anything and is thus unable to revalidate
anything but the Master Key, isn't it a violation of the RFC not to
validate all the parameters?

What happens in the following scenario?
1°) Client negociates a new TLS session and stores the session ID locally
2°) Server admin changes the configuration of his/her server to completely
alter cipher suites, etc. and reloads the configuration (without restarting
the server, so the Master Key is left untouched)
3°) Client tries to reuse its previously saved session ID with the right
Master Key

I guess the server will most probably reject the session bacu and initiate
a new one with the same Master Key (please confirm)? Is it 'legal'?
I admit that, in a way, the same happens when say, on a high-traffic
server, the cache rotation eliminates old entries which a client then tries
to resume a session with...

Is it allowed to reduce the session ID mechanism to the check of the Master
Key per RFC? Shouldn't you either fully support the mechanism (with a cache
of parameters server-side) or not at all?
---
*B. R.*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

TLS session resumption (identifier)

B.R. March 03, 2016 06:52AM

Re: TLS session resumption (identifier)

Maxim Dounin March 03, 2016 08:30AM

Re: TLS session resumption (identifier)

B.R. March 03, 2016 10:44AM

Re: TLS session resumption (identifier)

Igor Sysoev March 03, 2016 10:50AM

Re: TLS session resumption (identifier)

B.R. March 04, 2016 04:22AM

Re: TLS session resumption (identifier)

Igor Sysoev March 04, 2016 04:42AM

Re: TLS session resumption (identifier)

B.R. March 04, 2016 04:58AM

Re: TLS session resumption (identifier)

Igor Sysoev March 04, 2016 05:20AM

Re: TLS session resumption (identifier)

B.R. March 04, 2016 05:32AM

Re: TLS session resumption (identifier)

Igor Sysoev March 04, 2016 05:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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