[openssl-users] SSL_GET_SERVER_CERT_INDEX:internal error

Jeremy Harris jgh at wizmail.org
Thu Dec 20 23:43:06 UTC 2018

On 20/12/2018 17:16, Viktor Dukhovni wrote:
>> "14142044:SSL routines:SSL_GET_SERVER_CERT_INDEX:internal error"
> This is an SSL library error in your error stack.  Likely left
> over from an earlier function call, with no ERR_clear_error()
> before the new call.

Thanks for the hint. You are correct, and a clear before that set
of crypto operations gets me a far more reasonable message.

The error seems to be left around after SSL_accept(), and yet
it does not appear in my SNI callback.  Worse, my verify callback
(which I was expected to appear) does not seem to be being called.
Yet the SSL_accept() succeeded.

Any ideas on that?

More information about the openssl-users mailing list