Hi, I have a working installing of Apache (1.3.12) + mod_ssl (2.6.4) and I
am trying to set up a number of secure virtual servers on different ports
with different server certificates and private keys. After pointing Apache
to the correct path for the certificates + keys
the following messages were generated in ssl-errors_log


[Wed Jan 24 17:43:06 2001] [error] mod_ssl: Init: Private key not found
(OpenSSL
 library error follows)
[Wed Jan 24 17:43:06 2001] [error] OpenSSL: error:0D084069:asn1 encoding
routine
s:d2i_ASN1_SET:bad tag
[Wed Jan 24 17:43:06 2001] [error] OpenSSL: error:0D09D082:asn1 encoding
routine
s:d2i_RSAPrivateKey:parsing
[Wed Jan 24 17:43:06 2001] [error] OpenSSL: error:0D09B00D:asn1 encoding
routine
s:d2i_PrivateKey:ASN1 lib

After having looking at the existing server key and the new key I am
installing I realised that the existing key is not encrypted. The system
works after I generated a new set of certificate and unencrypted private key
(via openssl genrsa -out mykey 1024).
According to the documentation Apache should just prompt you for the
passphrase when trying to load a encrypted private key but this is not
happening and I can't work out why.
Any help would be apprciated.
Thanks
min

______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to