Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

WampServer HTTPS “refused to connect” (no replies)

$
0
0
From: [stackoverflow.com],

I created:

C:\wamp\bin\apache\apache2.4.9\ssl.crt\vhost.crt & C:\wamp\bin\apache\apache2.4.9\ssl.key\vhost.key

I edited:

C:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-ssl to include:

<VirtualHost www.vhost.dev:443>

DocumentRoot "c:/wamp/www/vhostdev"
ServerName www.vhost.dev:443
ErrorLog "c:/wamp/logs/ssl_error.log"
TransferLog "c:/wamp/logs/ssl_error.log"

SSLEngine on

SSLCertificateFile "c:/wamp/bin/apache/apache2.4.9/conf/ssl.crt/vhost.crt"
SSLCertificateKeyFile "c:/wamp/bin/apache/apache2.4.9/conf/ssl.key/vhost.key"

<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>

<Directory "c:/wamp/www/vhostdev">
SSLOptions +StdEnvVars
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require local
</Directory>

BrowserMatch "MSIE [2-5]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0

CustomLog "c:/wamp/logs/ssl_request.log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

</VirtualHost>

The SSL Apache module is turned on.

www.vhost.dev is defined in the Windows host file correctly.

When I load [www.vhost.dev], I receive:

This site can’t be reached
www.vhost.dev refused to connect.
Try:
Reloading the page
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

There is nothing in C:\wamp\logs\apache_error.txt

There is nothing in Windows Event Viewer > Application.

Help appreciated.

Update: I created a 2nd .crt & .key for a 2nd vhost and the problem followed me when I tried to load the 2nd vhost over https. This problem has only existed since I reinstalled Windows from fresh.

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>