Re: Windows Certificate Store Private Key

2010-06-28 Thread iyage
A question for everyone: What If you only use the BIO structures to call RAND_bytes(), in your threads, and you are not using any of the SSL structures, do you still need a callback function? My purpose of using the OpenSSL library is to generate random numbers only. - __

Re: Best way to store keys and certs on Windows [was: Windows Certificate Store Private Key]

2010-06-28 Thread Jakob Bohm
On 26-06-2010 18:29, Mohan Radhakrishnan wrote: Please ignore if this question belongs else where but it looks like the OP is storing and retrieving SSL certificate from a Windows store. I have been looking for ways to use the Windows store to secure SSL certificates and keys and SFTP key

Re: Windows Certificate Store Private Key

2010-06-26 Thread Michael S. Zick
On Sat June 26 2010, Mohan Radhakrishnan wrote: > Hi, >Please ignore if this question belongs else where but it looks > like the OP is storing and retrieving SSL certificate from a Windows > store. I have been looking for ways to use the Windows store to secure > SSL certificates and keys a

Re: Windows Certificate Store Private Key

2010-06-26 Thread Mohan Radhakrishnan
Hi, Please ignore if this question belongs else where but it looks like the OP is storing and retrieving SSL certificate from a Windows store. I have been looking for ways to use the Windows store to secure SSL certificates and keys and SFTP keys. Is windows or any other method recommended

Re: Windows Certificate Store Private Key

2010-06-24 Thread Dr. Stephen Henson
On Thu, Jun 24, 2010, Harshvir Sidhu wrote: > Hey thanks all for the reply. > Stephen: >Yes i have to do client authentication, Is there some sample available > that demonstrates how can i use capi engine for the same? Thanks. > The option -ssl_client_cert_engine to s_client uses the relevan

Re: Windows Certificate Store Private Key

2010-06-24 Thread Harshvir Sidhu
Hey thanks all for the reply. Stephen: Yes i have to do client authentication, Is there some sample available that demonstrates how can i use capi engine for the same? Thanks. // Harshvir On Thu, Jun 24, 2010 at 7:29 AM, Dr. Stephen Henson wrote: > On Wed, Jun 23, 2010, Harshvir Sidhu wrote:

Re: Windows Certificate Store Private Key

2010-06-24 Thread Dr. Stephen Henson
On Wed, Jun 23, 2010, Harshvir Sidhu wrote: > Hi All, > I am trying to read Certificates and Private Key from Windows > Certificate Store and then using them in OpenSSL. I am able to read > Certificates but i am having trouble with reading Private Key. Have anyone > done this before, any point

Re: Windows Certificate Store Private Key

2010-06-24 Thread Jakob Bohm
On 24-06-2010 00:43, Harshvir Sidhu wrote: Hi All, I am trying to read Certificates and Private Key from Windows Certificate Store and then using them in OpenSSL. I am able to read Certificates but i am having trouble with reading Private Key. Have anyone done this before, any pointers will

Re: Windows Certificate Store Private Key

2010-06-24 Thread Bernhard Froehlich
aerow...@gmail.com schrieb: Run mmc.exe (Microsoft Management Console), add the "Certificates" snap-in, and then export the certificate and private key to a PKCS#12 file. Then use openssl pkcs12 to parse it. Note that this works only if the private key is marked as exportable. Ted ;) -Kyle

Re: Windows Certificate Store Private Key

2010-06-23 Thread aerowolf
Run mmc.exe (Microsoft Management Console), add the "Certificates" snap-in, and then export the certificate and private key to a PKCS#12 file. Then use openssl pkcs12 to parse it. -Kyle H On Wed, Jun 23, 2010 at 3:43 PM, Harshvir Sidhu wrote: Hi All,     I am trying to read Certificates and

Re: Windows Certificate Store Private Key

2010-06-23 Thread aerowolf
Run mmc.exe (Microsoft Management Console), add the "Certificates" snap-in, and then export the certificate and private key to a PKCS#12 file. Then use openssl pkcs12 to parse it. -Kyle H On Wed, Jun 23, 2010 at 3:43 PM, Harshvir Sidhu wrote: Hi All,     I am trying to read Certificates and

Windows Certificate Store Private Key

2010-06-23 Thread Harshvir Sidhu
Hi All, I am trying to read Certificates and Private Key from Windows Certificate Store and then using them in OpenSSL. I am able to read Certificates but i am having trouble with reading Private Key. Have anyone done this before, any pointers will be great. Thanks. // Harshvir