C++: Is there any way to get SSL error description and code after failed checking SSL certificates.

26 views
Skip to first unread message

arco...@gmail.com

unread,
May 31, 2019, 9:41:10 AM5/31/19
to grpc.io
Hello.

I have C++ client and server with mutual authentication via SSL-certificates. When I have different ca.crt on client and server sides, I receive error on client side with code 14(UNAVAILABLE) and I can see SSL error about "Handshake failed" only in logs.
Is there any API to get error code and description from openssl to client or server code?
Reply all
Reply to author
Forward
0 new messages