Page 1 of 1

Create your own SSL certificates

PostPosted: Thu Jul 18, 2019 10:50 am
by Antonio Linares
https://jamielinux.com/docs/openssl-certificate-authority/index.html

How to install them:
https://bjdejongblog.nl/xampp-windows-2012-r2/

In example, to create a new SSL website for xampp.test.tld

Edit:
c:\xampp\apache\conf\extra\httpd-vhosts.conf

and add:
Code: Select all  Expand view
<VirtualHost *:443>
   DocumentRoot C:/xampp/htdocs/xampp.test.tld
   ServerName xampp.test.tld
   SSLEngine on
   SSLCertificateFile "conf/mycerts/ca/intermediate/certs/xampp.test.tld.cert.pem"
   SSLCertificateKeyFile "conf/mycerts/ca/intermediate/private/xampp.test.tld.key.pem"
   SSLCertificateChainFile "conf/mycerts/ca/intermediate/certs/ca-chain.cert.pem"
</VirtualHost>