You would call SSL_CTX_load_verify_locations(SSL_CTX*, <path to cert
file>, <path to directory containing public keys>) with either the 2nd
or 3rd param optionally NULL, but not both.

The file would contain one or more CA public keys and the directory is
ca public keys with the name of the file being a hash of the ca name
with a .0 extension.

Darya

-----Original Message-----
From: Edward Chan [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 04, 2005 11:23 AM
To: [email protected]
Subject: RE: Does anybody know where certs are installed on Windows?

Does anybody know off hand what the API is to call to find the location?
How are people calling SSL_CTX_load_verify_locations() on Windows?

Thanks,
Ed

 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dr. 
> Stephen Henson
> Sent: Thursday, March 03, 2005 1:09 PM
> To: [email protected]
> Subject: Re: Does anybody know where certs are installed on Windows?
> 
> On Thu, Mar 03, 2005, Edward Chan wrote:
> 
> > Is there a Win32 API or something that can tell me where certs get 
> > installed on Windows?
> > 
> 
> They are installed in the registry. The precise location 
> isn't officially documented. It is possible to search and 
> access them using CryptoAPI. The relevant functions all being 
> with "Cert".
> 
> Steve.
> --
> Dr Stephen N. Henson. Email, S/MIME and PGP keys: see 
> homepage OpenSSL project core developer and freelance consultant.
> Funding needed! Details on homepage.
> Homepage: http://www.drh-consultancy.demon.co.uk
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [email protected]
> Automated List Manager                           [EMAIL PROTECTED]
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to