Apache2 + ssl
Hello.
I have managed to install apache2 with ssl support and it works just fine if i type: apachectl start and put my passphrase. The problem is that when i reboot the server, apache doesn't start... I believe the cause is the lack of password... how do I fix this? any thoughts? thank you |
Save your passphrase in a file e.g. /path/to/passphrase (I'm not sure but I think it must be executable) and then in your httpd.conf (or ssl.conf if you use different conf files) find the line with "SSLPassPhraseDialog" and change it to:
Code:
SSLPassPhraseDialog exec:/path/to/passphrase |
that didn't work for me...
I made another certificate and generated the server.key without a passphrase... at least it works for now, till i find another way... |
That's how I use it (no passphrase)
Maybe the '/path/to/passphrase' script has to output the passphrase (like echo 'passphrase') or it just a plain file that contains passphrase ? I will investigate this |
Keefaz is right. The file must contain:
Code:
#!/bin/sh |
All times are GMT -5. The time now is 04:02 PM. |