apache-ssl/woody cannot handle password protected keys?
Hi,
just upgraded a host from potato to woody, I observed that
my apache-ssl failed to work.
Well, it actually starts but goes down immediately:
# /usr/sbin/apache-sslctl start
Reading key for server <my.server>:443
Enter PEM pass phrase:
Launching... /usr/lib/apache-ssl/gcache
pid=22730
/usr/sbin/apache-sslctl start: httpsd started
or similary:
# /etc/init.d/apache-ssl start
Starting web server: apache-sslReading key for server <my.server>:443
Enter PEM pass phrase:
Launching... /usr/lib/apache-ssl/gcache
pid=22999
.
The error log says:
[Mon Feb 25 15:20:36 2002] [crit] (22)Invalid argument: Error reading private
key file /etc/apache-ssl/secret.key:
[Mon Feb 25 15:20:36 2002] [crit] error:0906406D:PEM
routines:DEF_CALLBACK:problems getting password
[Mon Feb 25 15:20:36 2002] [crit] error:0906A068:PEM routines:PEM_do_header:bad
password read
My PEM pass phrase is ok; in case of a typo I get something like:
# /usr/sbin/apache-sslctl start
Reading key for server <my.server>:443
Enter PEM pass phrase:
Bad passphrase - try again
When I remove the passphrase from /etc/apache-ssl/secret.key (such
that it is only proteced by its file permissions) then apache-ssl
works fine.
I also tried apache-ssl from unstable (1.3.23.1+1.45-1) which
gives the same results.
I would appreciate any hints! Is it my fault or is this a bug
(a feature?) within apache-ssl?
Thanks, Thomas
Reply to: