[openssl-users] Get peer certificate after handshake failure

Viktor Dukhovni openssl-users at dukhovni.org
Thu Jan 17 18:17:10 UTC 2019

On Thu, Jan 17, 2019 at 05:39:39PM +0000, Steven Winfield wrote:

> TL;DR: After a failed handshake, caused by our peer’s certificate failing
> verification, what is the correct way to get hold of the peer’s certificate?

You can't get it after, but you can get it *during* the handshake, by
implementing a "verify callback".

> -- 
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

More information about the openssl-users mailing list