[openssl-users] Sequence of steps to initialize a ssl-session (only client-mode)

Viktor Dukhovni openssl-users at dukhovni.org
Mon Oct 10 05:30:46 UTC 2016


> On Oct 10, 2016, at 1:25 AM, Ajay Garg <ajaygargnsit at gmail.com> wrote:
> 
>    solitary_ssl_ctx = SSL_CTX_new(TLSv1_2_client_method());

Don't use TLSv1_2_client_method(), instead use either:

	SSLv23_client_method()  -- OpenSSL <= 1.0.2
        TLS_client_method()     -- OpenSSL >= 1.1.0

If you want to disable older protocol versions, do that
via the appropriate options.

-- 
	Viktor.



More information about the openssl-users mailing list