https with client certs

2006-11-27 Thread Torsten Curdt
Hi there, I am trying to add client certificate support to Daquiri which is using openssl for https connections already. http://omniti.com/~jesus/projects/ So before creating the SSL with SSL_new I am loading our client certificate CA's certificate chain into the context with: int

Re: https with client certs

2006-11-27 Thread Torsten Curdt
Try SSL_CTX_use_PrivateKey_file() to load private key (and I suggest SSL_CTX_check_private_key() to check private key to certificate compatibility). Well, I thought for PEM SSL_CTX_use_certificate_chain_file() would also load the private key (thought I read that somewhere) ...anway. When I use

Re: https with client certs

2006-11-27 Thread Torsten Curdt
Thanks for the help guys ...the last thing that was missing was actually an infrastructure problem :) So - working now :) cheers -- Torsten __ OpenSSL Project http://www.openssl.org User Support

apache+mod_sll+openssl cannot find private key

2000-06-24 Thread Torsten Curdt
I'm running apache-1.3.12 with mod_ssl-2.6.4 and openssl-0.9.5a I created my own CA and and signed the certificate for my site. But when I try to start apache I get --- snip khales:# Apache/1.3.12 mod_ssl/2.6.4 (Pass Phrase Dialog) Some of your private key files are encrypted for security

RE: apache+mod_sll+openssl cannot find private key

2000-06-24 Thread Torsten Curdt
I'm running apache-1.3.12 with mod_ssl-2.6.4 and openssl-0.9.5a I created my own CA and and signed the certificate for my site. But when I try to start apache I get --- snip khales:# Apache/1.3.12 mod_ssl/2.6.4 (Pass Phrase Dialog) Some of your private key files are encrypted for security