I see.  So current OpenSSL users on Windows either have to convert all the
certs to the correct format and store than in a directly accessible by
OpenSSL, or they have to go with the Microsoft Cert* API's.  Is that a
correct statement? 

There is no way I can use the certs that come pre-installed with Windows,
and feed that into OpenSSL without converting each cert to a file that can
be understood by OpenSSL?

Ed

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Bernhard Froehlich
> Sent: Friday, March 04, 2005 1:44 PM
> To: [email protected]
> Subject: Re: Does anybody know where certs are installed on Windows?
> 
> Edward Chan wrote:
> 
> >I understand the usage of the API.  What I mean is, how do you know 
> >what 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.
> >
> No, 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.
> 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
> ;)
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to