SSLVerifyCallback is passed into SSLCtx and is called during handshake when OpenSSL is doing certificate validation.
Wrapping the X509_STORE_CTX in the CertificateStoreCtx utility class gives the ability to access the peer certificate, and reason for error.
See Implementation
SSLVerifyCallback is passed into SSLCtx and is called during handshake when OpenSSL is doing certificate validation.
Wrapping the X509_STORE_CTX in the CertificateStoreCtx utility class gives the ability to access the peer certificate, and reason for error.