Wamp service won't start
Posted by: MCaetano (---.dialup.adsl.anteldata.net.uy)
Date: December 19, 2012 06:27PM

Hi,

I have a wamp Apache 2.2.21 running on a Win XP Pro SP3 x86
I had everything running smoothly but now I need to install a SSL certificate in my site.

I have already created the server.key file, and followed every kind of gude to obtain and install my certificate and configure http.conf and hhtpd-ssl.conf

httpd.conf should be ok since the only change I made was including the httpd-ssl.conf.
When doing this my wamp service won't start anymore, so I guess it should be an httpd-ssl.conf related issue.

After many ups and downs with the httpd-ssl.conf I stumbled upon two very useful httpd commands, -S and -t wich should check the syntax of *.conf
According to both commands my httpd-ssl.conf has a correct syntax, nontheless wamp service refuses to start.

This is what my httpd-ssl.conf looks like:

Listen 443

AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl

SSLPassPhraseDialog builtin
SSLSessionCache "shmcb:c:/wamp/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLMutex default

NameVirtualHost *:443
<VirtualHost *:443>

# General setup for the virtual host
DocumentRoot "C:/wamp/www"
ServerName localhost:443
ServerAdmin admin@example.com
ErrorLog C:/wamp/bin/apache/Apache2.2.21/logs/sslerror_log
TransferLog C:/wamp/bin/apache/Apache2.2.21/logs/sslaccess_log

SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL

SSLCertificateFile "C:/wamp/bin/apache/Apache2.2.21/ssl.crt/mydomain.com.crt"
SSLCertificateKeyFile "C:/wamp/bin/apache/Apache2.2.21/ssl.key/server.key"
SSLCertificateChainFile "C:/wamp/bin/apache/Apache2.2.21/ssl.crt/gd_bundle.crt"

<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "C:/wamp/www">
SSLOptions +StdEnvVars
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

BrowserMatch ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0

CustomLog "C:/wamp/bin/apache/Apache2.2.21\logs/ssl_request_log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

</VirtualHost>

Just in case, I've tripled checked every path so those are ok.
I've also checked openssl php extension and mod_ssl for apache so those are not missing, and made sure ssl port (443) was listening and firewall free.

If anyone has any clue or comment on where I might be wrong please shed some light since I'm out of ideas at the moment.

Thanks for your help and time.

Cheers

Martín Caetano

Options: ReplyQuote
Re: Wamp service won't start
Posted by: stevenmartin99 (Moderator)
Date: December 19, 2012 08:39PM

CustomLog "C:/wamp/bin/apache/Apache2.2.21\logs/ssl_request_log" \


whats with the / / / \ / \?????

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Wamp service won't start
Posted by: MCaetano (---.dialup.adsl.anteldata.net.uy)
Date: December 20, 2012 12:47PM

As far as I know it should not be an issue.

I did change it though, just in case, but it didn't resolved my problem.

Options: ReplyQuote
Re: Wamp service won't start
Posted by: stevenmartin99 (Moderator)
Date: December 20, 2012 02:53PM

did you create these paths for the logs?

also did you run the httpd -E command to chaeck for errors?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Wamp service won't start
Posted by: MCaetano (---.dialup.adsl.anteldata.net.uy)
Date: December 20, 2012 03:20PM

Finally!!!

Thanks for the tip, I never thought to use -E command.

With that info I solved it, I had a Listen 443 in httpd.conf and another in httpd-ssl.conf.
Somehow that conflicted and service would not start.

Thanks again for your help. Really apreciated.

Cheers

Options: ReplyQuote


Sorry, only registered users may post in this forum.