![]() ![]() 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" SSLCertificateFile "C:\xampp\xampp\certs\www_liamwli_co_uk.crt" ServerAlias ErrorLog "logs/liamwlissl.log" ServerAlias ErrorLog "logs/"ĬustomLog "logs/" combined The contents of my nf file is: NameVirtualHost *:80 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. 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. This is mostly caused by the certificates not being issues by a Certificate Authority, but rather it’s a self-signed certificate. ![]() These tutorials demonstrate how to generate a private key and public certificate for your Apache server. SSL connection error Unable to make a secure connection to the server. Setting up an SSL certificate for XAMPP is pretty straight forward, but it won’t completely work if you are trying to use a private, local domain on your own computer. To encrypt traffic to your Apache server using a self-signed certificate, use one of the tutorials from this series that explains how to create Self-signed SSL Certificates with Apache. I cannot access (or the non-secure variant), as google chrome gives an error when I try to access it: When I only had SSL enabled on the 1 site (I have 2 active), everything worked fine - but now I am having problems. Download these two files and save them to a folder C:\xampp\apache\ssl. If you have XAMPP on your machine then openssl already should come with it. I have multiple websites on my Windows Server 2003 vps, running apache2 via xampp. Install SSL Certificate for Localhost XAMPP Windows Install Openssl. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |