Hello, Thanks for your answer but it wasn't what I need. I forgot to say it was question about programming with OpenSSL API.
I need to port a small application using openssl to make TLS tunnels. This application use SSL_CTX_use_certificate_chain_file(ctx, certfile)); to load the client certificate. certfile is the filename of the certificate (client.pem). The thing is I need to import a specific certificate from "Certificate Store" on Microsoft Windows and dump it into SSL_CTX_use_certificate_chain_file (or an equivalement function). Maybe I can dump the certificate in DER format using CAPICOM API (I think this is the only way to get a certificate from the certificate store unless using .NET) to a tempory file and then load it with OpenSSL. But it wouldn't be secure at all. Btw, is there a nice OpenSSL programming manual available on the internet ? I only can find some short tutorial, and manpages. On Wed, 26 Apr 2006 06:39:08 -0700, Jeff Saxton <[EMAIL PROTECTED]> wrote: > openssl x509 -inform DER -in MS_CERT -outform PEM -out OPENSSL_CERT > > Matthieu BONETTI wrote: >> Hello, >> >> Is there a way to use Microsoft stored certificates with OpenSSL? I > can't find anything on this. >> I can access to those certificates using CAPICOM, but OpenSSL requires a > PEM file. >> >> Regards, >> > > -- > Jeff Saxton > SenSage, Inc. > 55 Hawthorne Street Suite 700 > San Francisco, CA 94105 > Phone: 415.808.5900 > Fax: 415.371.1385 > Direct: 415-808-5921 > Cell: 415-640-6392 > mailto:[EMAIL PROTECTED] > > Enterprise Security Analytics > > SenSage, the leading provider of enterprise security analytics, offers > unparalleled performance and a scalable means for organizations to > centrally > aggregate, efficiently analyze, dynamically monitor and cost-effectively > store massive volumes of event log data. -- Matthieu Bonetti Mobile. +33 684 957 844 - Portable. 06 84 95 78 44 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]