el_noir
2008-11-19 15:23:06 UTC
I'm developing an application with Schannel secure connection, where
the server may ask for a client to authenticate itself with a
certificate.
My goal is the following: The user may have an etoken to authenticate
with, but it should not be requied.
When the InitalizeSecurityContext see the certificate request respond
from the server during the handshake, it tries to access the
certificate which was copied in the certificate store by the e-token
driver. How can I bypass this default behaviour?
When I set a certificate in the SCHANNEL_CRED struct it will be used
as intended, but when I leave it empty, the InitalizedSecurityContext
still try to access the certificate.
Has anyone got ideas or workarounds what to do?
the server may ask for a client to authenticate itself with a
certificate.
My goal is the following: The user may have an etoken to authenticate
with, but it should not be requied.
When the InitalizeSecurityContext see the certificate request respond
from the server during the handshake, it tries to access the
certificate which was copied in the certificate store by the e-token
driver. How can I bypass this default behaviour?
When I set a certificate in the SCHANNEL_CRED struct it will be used
as intended, but when I leave it empty, the InitalizedSecurityContext
still try to access the certificate.
Has anyone got ideas or workarounds what to do?