XAMPP with SSL, year 2020

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP with SSL, year 2020

Postby undry » 24. September 2020 15:39

Hi Guys, i've been trying to do something possible, but it's 8 hours straight failed efforts to make XAMPP latest version with PHP 7 work with SSL in Windows Environment.

But let's go step by step.

1) Downloaded and installed XAMPP on e:\xampp

2) Tried previous solutions with continuous editing of conf files in Apache and finally came to this.

3) I have generate the SSL certificates using solution from online and placed it in "E:\xampp\apache\crt\ikeen.localhost"

4)I have successfully imported them to Windows

5) I have added 127.0.0.1 ikeen.localhost to hosts file.

6) Then I added the following to httpd-xampp.conf:

## ikeen.localhost
<VirtualHost *:80>
DocumentRoot "E:/xampp/htdocs/ikeen"
ServerName ikeen.localhost
ServerAlias *.ikeen.localhost
</VirtualHost>
<VirtualHost *:443>
DocumentRoot "E:/xampp/htdocs/ikeen"
ServerName ikeen.localhost
ServerAlias *.ikeen.localhost
SSLEngine on
SSLCertificateFile "crt/ikeen.localhost/server.crt"
SSLCertificateKeyFile "crt/ikeen.localhost/server.key"
</VirtualHost>

7) HTTPs is not working, when I open http://ikeen.localhost I can see the site without any images as all the images get "Failed to load resource: net::ERR_CONNECTION_RESET" in the Console.

8) When I try to open https://ikeen.localhost I immediately get Connection reset error in Chrome and Opera. The worst part is that I can't even see what is the problem as error.log in Apache does not show anything special

Please any possible idea how to make SSL work?
undry
 
Posts: 3
Joined: 24. September 2020 15:30
XAMPP version: 3.2.4
Operating System: Windows 10

Re: XAMPP with SSL, year 2020

Postby undry » 24. September 2020 19:12

Hi Guys for everyone there, this is Kaspersky Antivirus doing that.
undry
 
Posts: 3
Joined: 24. September 2020 15:30
XAMPP version: 3.2.4
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 135 guests