View previous topic :: View next topic |
Author |
Message |
chmod n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Oct 2002 Posts: 28 Location: Oklahoma City, OK USA
|
Posted: Wed Sep 17, 2003 4:27 am Post subject: Automatic startup of Apache2 -D SSL? |
|
|
I have apache2 installed and working from portage. I have a couple of SSL hosts that are working nicely.
The problem is: I'd like to add apache2 to the default runlevel so it will start on boot. But my SSL certs have passwords. So when apache starts it asks for the passphrase of the cert.
Is there a way to make it start and put the passphrase in a startup script or something? Or do I just need to remake the certs without passwords?
Thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cvk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/75421469845f7f78fbb3f6.png)
Joined: 06 Jan 2003 Posts: 314 Location: Our house, in the middle of our street
|
Posted: Wed Sep 17, 2003 5:58 am Post subject: |
|
|
As it makes no difference in security, you can simply remove the passphrase from your key:
Code: | # cp server.key server.key.org
# openssl rsa -in server.key.org -out server.key
# chmod 400 server.key |
btw: This answer is covered in the mod_ssl FAQ:
http://www.modssl.org/docs/2.8/ssl_faq.html#remove-passphrase
Regards,
cvk _________________ Adopt an unanswered post now. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chmod n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Oct 2002 Posts: 28 Location: Oklahoma City, OK USA
|
Posted: Wed Sep 17, 2003 6:38 am Post subject: |
|
|
Thanks for the fast reply! Works great ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|