How to handle TLS alerts
pepone.onrez
pepone.onrez at gmail.com
Wed Oct 26 17:33:24 UTC 2022
Hi,
I'm trying to understand how to handle TLS alerts, I have set up a callback
with
SSL_CTX_set_info_callback(_ctx, ssl_info_callback);
And I can see alerts sent by the peer, does the application need to call
SSL_shutdown upon receiving
a fatal alert, or is this done automatically by the OpenSSL library?
With my testing, I see my client gets "read SSL3 alert fatal unknown CA"
after the call to SSL_connect finishes without error
Cheers,
Jose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20221026/f7308883/attachment.htm>
More information about the openssl-users
mailing list