Edward Chan wrote:
I understand the usage of the API. What I mean is, how do you know whatNo, not the location is retrievable but the certs. I'm not even sure if the certs live in the registry or somewhere in active directory or in some Jet database hidden in the Windows directory.
directory or file to specify, if this is not easily known? Dr. Henson said
that the certs are stored in the Windows registry but that the location is
retrievable using certain Cert* Win32 API's.
If you want to use the windows certificate storage with OpenSSL you'll have to extract the certificates, possible convert them into correct format and stuff them into OpenSSL. Have a look at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccrypto/security/cryptography_functions.asp
Sorry, there is no such function like SSL_CTX_load_verify_locations(CertGetSecretCertificateStorage()). If you have to use the Windows cert storage it's probably less work to use MS Crypto-API...
Just wondering if anybody knew off hand what API's I should use since this must be a common thing that people do for Windows to use SSL_CTX_load_verify_locations() , right?
Ed
Ted ;)
smime.p7s
Description: S/MIME Cryptographic Signature
