Re: Query related to session resumption in TLS1.3

2019-06-09 Thread Viktor Dukhovni
On Sun, Jun 09, 2019 at 10:39:36AM +, shalu dhamija wrote: > "The default number of tickets is 2; the default number of tickets sent > following a resumption handshake is 1". But in my case, following the > resumption handshake, I am always getting two session tickets from the > serve

Re: Query related to session resumption in TLS1.3

2019-06-09 Thread shalu dhamija
Hi Viktor,Thanks for your response. In my code, somehow, the ssl_read was not getting called ( due to some bug) due to which the session ticket was not being read resulting in no callback. I have fixed it and its working now.Now the resumption using TLS1.3 is working fine but I want to clarify

Re: Query related to session resumption in TLS1.3

2019-05-16 Thread Viktor Dukhovni
On Thu, May 16, 2019 at 04:22:13PM +, shalu dhamija via openssl-users wrote: > But the same flow does not work for TLS1.3. In TLSv1.3, sessions are > established after the main handshake has completed. So, I have implemented > the callback SSL_CTX_sess_set_new_cb. And in the callback, I am sto

Query related to session resumption in TLS1.3

2019-05-16 Thread shalu dhamija via openssl-users
Hi All, I am in process of using TLS1.3 using openssl 1.1.1b version in my client application. In order to use session resumption, I have implemented an external cache when acting as the client. The key to the cache is combination of host and port and the value  associated is SSL_SESSION*.   B