How to add SSL to XAMPP

Open C:\xampp\apache\conf\extra\httpd-ssl.conf

 and add following lines

 <VirtualHost *:443>
    DocumentRoot "C:\xampp\htdocs"
    ServerName domain.com:443
    SSLEngine On
    SSLCertificateFile "C:\xampp\apache\ssl\domain.crt"
    SSLCertificateKeyFile "C:\xampp\apache\ssl\domain.key"
    SSLCACertificateFile "C:\xampp\apache\ssl\domain.ca-bundle"
    
    <Directory "C:\xampp\htdocs">
    </Directory>
</VirtualHost>



#buttons=(Accept !) #days=(20)

Our website uses cookies to enhance your experience. Learn More
Accept !