After SSl instal WHM wont restart apache but comand line wil

JeremyL

Well-Known Member
Aug 10, 2001
87
0
306
I just installed a cert on a domain and now WHM wont restart apache due to the fact whenever it restarts it wan\'ts a pass phrase. I litterally have to do it via command line. It\'s not to big a deal but that means when it fails it won\'t automatically restart.

This is what the command line is asking for for the start
==============
Apache/1.3.20 mod_ssl/2.8.4 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide us with the pass phrases.

Server www.rockhosting.com:443 (RSA)
Enter pass phrase:

==========================

How do I get it to bypass that so WHM can do the restarts?

Thanks
 

Annette

Well-Known Member
PartnerNOC
Aug 12, 2001
445
0
316
SSH in and:

Copy the key to another file.
openssl rsa -in domain.com.key.copy -out domain.com.key

You\'ll be prompted for the passphrase when you run that, but not on subsequent restarts of apache.