While using ISC_REQ_MANUAL_CRED_VALIDATION,
How can i get peer certificate during handshake?
We used sChannel in our client application to communicate with server. Our requirement is to validate peer certificate during handshake itself.
We used QueryContextAttributes() with SECPKG_ATTR_REMOTE_CERT_CONTEXT parameter during handshake( after server hello received with Server certificate ) but API failed with INVALID handle value as error. But this API succeeds after handshake
loop with same handle. Please refer the below sequence diagram