It works when I don't encrypt. (many sad faces).
Just a question:
You know what the directive SSLPassPhraseDialog is doing?
You know what the directive SSLPassPhraseDialog is doing?
What this line does, however, I don't know.
I'm guessing the xampp installation has an apache mod with a builtin pass phrase filter? if not, I guess it's directing apache to the a passphrase filter that is pre-installed in windows (which I will need to install manually first - hence my error).
If your server cert includes your key (and passphrase), you must:
a) enter the passphrase at server startup (apache builtin, reads from STDIN).
b) or you can configure a programm/shell script, which just writes the passphrase to STDOUT
2) There are no FAQ's explicidly stating that running Apache as a service with XAMPP,
will mean that you will not be able to use a PEM and encrypt your Key.
"Can I use an encrypted Key with my Apache Service" with the anwser being "no - the only way you can use an encrypted key, is if you want to start apache manually from a prompt"
b) or you can configure a programm/shell script, which just writes the passphrase to STDOUT
@echo yourpassphrase
SSLPassPhraseDialog builtin
SSLPassPhraseDialog exec:/xampp/apache/bin/passphrase.bat
copy server.key server.key.org
openssl.exe rsa -in server.key.org -out server.key
copy server.key server.key.org
openssl.exe rsa -in server.key.org -out server.key
I'm not having much luck using the passphrase.bat file to get the apache service to run.
isn't having the password in a plain text ".bat" file, almost as dangerous as having an unencrypted private key?
this is a very useful trick though! I never knew you could remove a passphrase from a key.
Users browsing this forum: No registered users and 158 guests