


You should provide a NameVirtualHost *:443 directive above the ssl inserts. I would recommend you use the httpd.exe -t option to check for syntax errors. If you have 2 static IP addresses, assign a HTTPS vhost to each, like this: SSLCertificateKeyFile "C:\xampp\xampp\certs\explained in this answer, you cannot use 2 different certificates for the same endpoint (ipaddress:port). SSLCertificateFile "C:\xampp\xampp\certs\www_techmastersforum_co_uk.crt" SSLCACertificateFile "C:\xampp\xampp\certs\GeoTrust_CA_Bundle.crt" SSLCertificateKeyFile "C:\xampp\xampp\certs\www_liamwli_co_uk.key" You'll face it if you work with cURL or you use any kind of tool that creates request to external servers. To enable the SSL connection, you need to add the following lines inside another VirtualHost tag, basically with the same structure as you main VirtualHost tag but with the following information : Note The port now needs to be 443 instead of the 80. SSLCertificateFile "C:\xampp\xampp\certs\www_liamwli_co_uk.crt" This error occur when the curl.cainfo and openssl.cafile config properties of the php.ini file, do not target any valid certificate that allow you to create connection with ssl as they will be invalid. ServerAlias ErrorLog "logs/liamwlissl.log" The certificate is a wild card certificate, so you can add an unlimited number of subdomains, just add them to your hosts file too. ServerAlias ErrorLog "logs/"ĬustomLog "logs/" combined

The contents of my nf file is: NameVirtualHost *:80 Fortunately, resolving it is surprisingly easymuch more so than some other XAMPP errors. When I try to access .uk through https, it gives me a certificate error, as it is trying to use the certificate for my other domain. The Server certificate does NOT include an ID which matches the server name message indicates an error with the Secure Sockets Layer (SSL) configuration for your Apache installation (Apache is part of XAMPP). I can access my other site (.uk), but it provides a very stripped down site. (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. This may be a problem with the server, or it may be requiringĪ client authentication certificate that you don't have. SSL connection error Unable to make a secure connection to the server. To double check that this is the case, we can connect to our instance via mysql -uroot -p (in Windows, mysql.
Xampp ssl error download#
I cannot access (or the non-secure variant), as google chrome gives an error when I try to access it: Typically, the binaries for MySQL server for Windows that you can download from the MySQL website, have been compiled with SSL support. Should be added to your config before the VirtualHost sections. When I only had SSL enabled on the 1 site (I have 2 active), everything worked fine - but now I am having problems. You probably forgot to tell apache that 127.0.0.1:443 is to be used for name based virtual hosts. I have multiple websites on my Windows Server 2003 vps, running apache2 via xampp.
