wamp with ssl not working
Posted by: dragonandcin (38.99.9.---)
Date: December 05, 2012 11:42PM

Hi,

I am creating a ssl enabled server in our company's intranet. I downloaded and installed wamp server with Apache 2.2.22 – Mysql 5.5.24 – PHP 5.3.13 XDebug 2.1.2 XDC 1.5 PhpMyadmin 3.4.10.1 SQLBuddy 1.3.3 webGrind 1.0.

Before i uncommented the "Include conf/extra/httpd-ssl.conf", when i start the server, i can successfully access to the server by entering [localhost], but after that, i could not start my apache again. It always gave us some error, for example,
1. " The Apache service named reported the following error:
>>> Unable to open logs "

Options: ReplyQuote
Re: wamp with ssl not working
Posted by: dragonandcin (38.99.9.---)
Date: December 05, 2012 11:54PM

2. "The Apache service named reported the following error:
>>> no listening sockets available, shutting down "
3." >(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:443"

I did some content change on the httpd.conf:
Listen 127.0.0.1:80
Listen 127.0.0.1:443
LoadModule ssl_module modules/mod_ssl.so
ServerName localhost:80
Include conf/extra/httpd-ssl.conf
DocumentRoot "c:/wamp/www"
<Directory "c:/wamp/www">

In my httpd-ssl.conf i did following changes:
Listen 127.0.0.1:443
SSLSessionCache "shmcb:C:/wamp/bin/Apache/apache2.2.22/conf/ssl/logs/ssl_scache(512000)"
SSLMutex default
<VirtualHost _default_:443>
DocumentRoot "C:/wamp/www/ssl"
ServerName localhost:443
ServerAdmin xingying.cheng@finisar.com
ErrorLog "C:/wamp/bin/Apache/apache2.2.22/conf/ssl/logs/ssl_error.log"
TransferLog "C:/wamp/bin/Apache/apache2.2.22/conf/ssl/logs/ssl_access.log"
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile "C:/wamp/bin/Apache/apache2.2.22/conf/ssl/test.crt"
SSLCertificateKeyFile "C:/wamp/bin/Apache/apache2.2.22/conf/ssl/test.key"
CustomLog "C:/wamp/logs/ssl_request.log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

Could you help me with this, i was searching a lot of forum on line, it all said that it is because of skype. But i have checked, there is no app are running on port 443 or port 80.

Right now i just simply could not start my server.

I appreciate it a lot for your help!

Options: ReplyQuote
Re: wamp with ssl not working
Posted by: RiggsFolly (---.as13285.net)
Date: December 06, 2012 10:08AM

Just one observation:
you seem to have a Listen 443 in both https.conf and the httpd-ssl.conf. Not necessary twice and could be causing problems.

Some tutorials tha may help


[www.lmhproductions.com]

[www.neubreed.com.au]

[www.phpjoel.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.