[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems with new apache-ssl certificate

Dear Debian-Users

I had apache-ssl working ok with a self-signed certificate, but now I
come to use a cert from http://certs.ipsca.com I am having problems.

I created the key and csr...

$openssl genrsa -des3 -out server.key 1024 
$openssl req -new -key server.key -out server.csr 

after submitting server.csr, I received a certificate

I copied the cert and the intermediate cert to the web server and
changed the /etc/apache-ssl/hpptd.conf

 SSLCertificateKeyFile /etc/apache-ssl/server.key
 SSLCertificateFile /etc/apache-ssl/mydomain.cer

and added
 SSLCACertificateFile /etc/apache-ssl/IPS-IPSCABUNDLE.cer

when I restart apache-ssl, it asks for the password, which I enter.

$ apache-sslctl start
Reading key for server xxxxxxxxxxxxxxxxx:443
Enter PEM pass phrase:
Launching... /usr/lib/apache-ssl/gcache
/usr/sbin/apache-sslctl start: httpsd started

but the pages which worked before no longer work, no page is recieved by
the browser.

in the logs, /var/log/apache-ssl/error.log

[Mon Mar  1 13:29:33 2004] [crit] (22)Invalid argument: Error reading
private key file /etc/apache-ssl/server.key:
[Mon Mar  1 13:29:33 2004] [crit] error:0906406D:PEM
routines:DEF_CALLBACK:problems getting password
[Mon Mar  1 13:29:33 2004] [crit] error:0906A068:PEM
routines:PEM_do_header:bad password read

I'm a novice at these things and just do not understand what is broken.

Any ideas ?

Children's Cancer Institute Australia


Reply to: