![]() Your local site now should have a nice lock next to its name. If you do not know the location of nf file then open XAMPP control panel and click config in apache management section. SSLCertificateFile "ssl/site.local/server.crt" If it is not there then create it like this – Open nf file and look for the VirtualHost section. Let XAMPP know where the certificate files are. I am assuming that you have chosen site.local as your common name. Go to C:\Windows\System32\drivers\etc\hosts file and open it in a text editor.Īdd the following line at the bottom of the file – The certificate will be imported and installed in Windows. In the next screen chose the option to Place all certificates in the following store and click browse.Ī new window will open where you will select Trusted Root Certification Authorities and select ok. You will get a window to chose Current User or Local Machine. Install xampp for windows install#A window will open to install the certificate. It will have the certificate and the private key.ĭouble click on the certification file. If you chose site.local as the common name, then the folder name will be site.local. Install the Certificate in WindowsĪfter running the batch file you will have a folder with your site name in ssl folder. So if you chose localhost then it will be localhost and it you chose site.local then the value will be site.local. Make sure to enter the common name as the name you chose earlier. In this result, you will find the software. Run XAMPP Go to the Search box and type Xampp. Install xampp for windows windows 10#Run the batch file nf and accept all the default values. Install XAMPP using Winget on Windows 10 Now, let’s run the single command that will easily install the Xampp apache local web server on our Windows 10. Edit nfĮdit the file nf and make the following changes.Ĭhange the DNS.1 value to localhost or any local site name you want. The ssl folder is new and you have to create it. If you have changed the location of the apache folder then change the location of the ssl folder also accordingly. The location C:\xampp\apache is the default location of Apache server if you have XAMPP installed on your machine. Download two filesĭownload these two files and save them to a folder C:\xampp\apache\ssl. ![]() You should install it in such a was then openssl is available under C:\xampp\apache\bin folder. If not, then go to and download and install it. If you have XAMPP on your machine then openssl already should come with it. In this guide, I am sharing with you the step by step process for installing a SSL certification on localhost that is running a XAMPP in Windows. So how do we go about installing SSL on a development machine? What is the process? Some of these sites require SSL connections for testing payments and one recently needed a secure connection for testing Webrtc. ![]() I have a Windows machine and as a developer of WordPress sites, I have to test many sites in Windows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |