Topic: DTLS force handshake

Hello,
I am using WOLFSSL DTLS and the encryption is working perfectly. it's a very good library, great work guys!!
What is the best practice for the server to notify the client that a new handshake is required?
If for example the server restarts and receives an encrypted packet while he has no context. how can it notify the client that a handshake is required?

Thanks,
Amit

Share

Re: DTLS force handshake

Hi Amit,

wolfSSL embedded SSL doesn't currently support secure renegotiation, but you could always just set up a new connection and have the client re-connect with a new handshake if the existing connection becomes invalid.

Best Regards,
Chris

Re: DTLS force handshake

Hi Chris,
thanks for your reply.
this is indeed how i implemented it. is there a way within wolfSSL for the client to know the connection is invalid? currently i'm reconnecting after a timeout.

thanks,
amit

Share