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

Virtual Host with SSL (2 replies)

$
0
0
Hi there,

I'm trying to set up my WAMP configuration in order to access (locally) to my website in SSL.
I'm running Wamp 3.1.0 64 bits on Windows10 with Apache 2.4.27

I've followed a few web tutorials so that I've been able to install a certificate and now, my wamp server answers SSL requests with no error.

The "only" issue I have is that I'm accessing the Wamp homepage instead of my site's homepage when I use HTTPS.

My ssl_error.log displays these two warnings but, as they are just warning, I considered them not significant:
[Mon Dec 11 19:48:29.460229 2017] [ssl:warn] [pid 11808:tid 448] AH01906: kui.burk.fr:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Dec 11 19:48:29.460229 2017] [ssl:warn] [pid 11808:tid 448] AH01909: kui.burk.fr:443:0 server certificate does NOT include an ID which matches the server name

My httpd-vhosts.conf (customized through the WAMP web interface) shows:
<VirtualHost *:80>
ServerName kui.burk.fr
DocumentRoot "d:[MY DIRECTORY FOR THIS SITE]/htdocs"
<Directory "d:[MY DIRECTORY FOR THIS SITE]/htdocs/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

I tried to add to httpd-ssl.conf these lines at the end, with no success:
<VirtualHost *:443>
ServerName kui.burk.fr
DocumentRoot "d:[MY DIRECTORY FOR THIS SITE]/htdocs"
<Directory "d:[MY DIRECTORY FOR THIS SITE]/htdocs/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

What did I miss???

Thanks for your help.

Viewing all articles
Browse latest Browse all 3177

Trending Articles



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