Hello everyone,
I have a server set up, and it's working just fine with the server.key/crt files that originally come with Apache. I've generated a key/crt pair with a CA to replace these ones. This new key has a passphrase though. When I try to start Apache2 (on Mandrake 10) it doesn't ask me for the phrase... It just kind of sits there. I then try typing in the phrase anyway and press enter. I get this error message:
Starting httpd2: <I ENTER PHRASE HERE>
Apache-AdvancedExtranetServer/2.0.50 mod_ssl/2.0.50 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.
Server
www.mydomain.com:443 (RSA)
Enter pass phrase:
OK: Pass Phrase Dialog successful.
[FAILED]
I then get this error in /var/log/httpd/ssl_error_log:
[Mon Dec 27 09:30:49 2004] [warn] RSA server certificate CommonName (CN) `localhost.Z4yeaA' does NOT match server name!?
The weird thing is that I don't use localhost anywhere... Obviously I didn't use localhost as the CommonName...
Thanks.