

This is required to load the certificate. Tips: In XAMPP conf, as you can see you can change the domain root directory if needed. It’s very simple, simply open XAMPP Control Panel and Stop and re- Start Apache Module. SSLCertificateKeyFile "crt/site.test/server.key"Īfter that, you will need to restart Apache in XAMPP. SSLCertificateFile "crt/site.test/server.crt" So we need to edit C:\xampp\apache\conf\extra\nfĪnd add this code at the bottom: # site.test We need to enable SSL for this domain and let XAMPP know where we store the SSL Cert. XAMPP stands for Cross-Platform (X), Apache (A), MySQL (M), PHP (P) and Perl (P). This will tell windows to load XAMPP when we visit You can try and it will show XAMPP dashboard page. XAMPP Tutorial: How to Use XAMPP to Run Your Own Web Server. Edit C:\Windows\System32\drivers\etc\hosts (the file have no ext).Next is how how to use this cert in XAMPP. This is our SSL certificate.ĭouble click on the server.crt to install it on Windows so Windows can trust it.Īnd then select Local Machine as Store Location.Īnd then Select “ Place all certificate in the following store” and click browse and select Trusted Root Certification Authorities.Īnd now this cert is installed and trusted in Windows. In that folder we will have server.crt and server.key. So we will have C:\xampp\apache\crtĬhange with the domain input.Īfter that, you will see site.test folder created.

In this example I will create “crt” folder. In regular install it’s in C:\xampp\apache. In this step we are going to crate SSL and setup “site.test” website.ġ.

And All of them (of course) use SSL/HTTPS. In my XAMPP install I basically have a clone to all the site that I managed.
