Session ID is coming as NULL in openSSL 3.0.2 and TLS 1.2 version

Viktor Dukhovni openssl-users at dukhovni.org
Fri Sep 2 14:14:42 UTC 2022


On Fri, Sep 02, 2022 at 07:23:41AM +0000, Sethuraman Venugopal wrote:

> The SSL session is getting created successfully, but the session ID is
> coming as NULL, due to which the handshake is failing between the
> client and server.

Successful handshakes need not issue a non-empty session id.  The server
may not support resumption, or may support only ticket-based resumption
and have no session cache.

Absence of a session id is NOT a failure, and your code must not require
one.

    https://datatracker.ietf.org/doc/html/rfc5077#section-3.4

> Please suggest me a solution for this issue.

Don't require a session id.

-- 
    Viktor.


More information about the openssl-users mailing list