Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Setting up my server to use SSL |
|
Author |
|
pips
Joined: 03 May 2006 Posts: 65 Location: Manchester, UK
|
Posted: Wed 15 Nov '06 17:55 Post subject: Setting up my server to use SSL |
|
|
I am pulling what little hair I have got left out trying to get SSL working. I have followed instructions from various sources all to no avail.
I have managed to get ApacheMonitor to report that I am running:-
Apache/2.2.3 (Win32) mod_ssl/2.2.3 OpenSSL/0.9.8d PHP/5.2.0
I have removed the # from the http.conf line #LoadModule ssl_module modules/mod_ssl.so
However, whenever I remove the # from:-
#Include conf/extra/httpd-ssl.conf
I cannot then start the apache service. I always get the error:-
Event Type: Error
Event Source: Apache Service
Event Category: None
Event ID: 3299
Date: 15/11/2006
Time: 15:38:54
User: N/A
Computer: DISCOVERY
Description:
The Apache service named reported the following error:
>>> Invalid command 'SSLPassPhraseDialog', perhaps misspelled or defined by a module not included in the server configuration .
Does anyone have or know where there are basic step by step instructions on how to achieve this on a Windows system?
Thanks in advance if anyone can help.
Phil. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
|
Back to top |
|
pips
Joined: 03 May 2006 Posts: 65 Location: Manchester, UK
|
Posted: Wed 15 Nov '06 19:06 Post subject: |
|
|
Thanks for the info Steffen,
I have followed the instructions and am a lot closer now. I have created the keys, and can now get Apache to start etc.
I also added to the end of the HTTPD.CONF file the following:-
<VirtualHost localhost:443>
DocumentRoot "d:/Apache2/htdocs-ssl"
SSLEngine On
SSLCertificateFile conf/ssl/new.cert.crt
SSLCertificateKeyFile conf/ssl/new.cert.key
</VirtualHost>
and then restarted apache without any problems.
In the htdocs-ssl directory I have written a sample htm page for testing purposes, however I cannot get IE to display this.
Typing the line https://localhost/index.htm
gives a "Navigation to the webpage was canceled" error.
Any ideas?
Thanks,
Phil. |
|
Back to top |
|
|
|
|
|
|