Red Hat Bugzilla – Bug 157068
Apache:mod_ssl:Error: Private key not found
Last modified: 2007-11-30 17:07:17 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Description of problem:
Same error as Bug 144274.
After generating a new private key and new testcert, restarting httpd returns and error stating that the private key cannot be found.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rm /etc/httpd/conf/ssl.key/server.key
2. rm /etc/httpd/conf/ssl.crt/server.crt
3. cd /usr/share/ssl/certs
4. make genkey
5. make testcert
6. /sbin/service httpd restart
7. Observe error.
Actual Results: Starting httpd: Apache/2.0.52 mod_ssl/2.0.52 (Pass
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.
Server rhel4.int.blackfordcomputing.com:443 (RSA)
Enter pass phrase:Apache:mod_ssl:Error: Private key not found.
Expected Results: Normal behavior. Apache should start properly and serve https following the pass phase input. This has been verified with rhel3, update 4 and FC1.
This error renders the use of https insecure if the only way it works is via the temporary key and cert.
*** This bug has been marked as a duplicate of 157062 ***