Step 1 – Create a Private key from the hosting server
$ openssl genrsa -out yourdomain.key 2048
Step 2 – Create a CSR file
$ openssl req -new -key yourdomain.key -out yourdomain.csr
Step 3 – Upload your CSR file to Godaddy or your cerfificate CA company.
Step 4 – Download your certificates as per your server type and upload to the server
Step 5 – Upload a file with .crt extension to you server into /opt/lampp/etc/certs/
eg. 52ac1e2638301e93.crt and gd_bundle-g2-g1.crt
Step 6 – Make sure you have following file /opt/lampp/etc/certs/
- 52ac1e2638301e93.crt – Download from Godaddy or CA site
- gd_bundle-g2-g1.crt – Download from Godaddy or CA site
- privatekey.key – Generated from Step#1
Step 7 – Now time to change /opt/lampp/etc/extra/httpd-ssl.conf & modify following entry
- SSLCertificateFile “/opt/lampp/etc/certs/52ac1e2638301e93.crt”
- SSLCertificateKeyFile “/opt/lampp/etc/certs/DOMAIN.key”
- SSLCACertificateFile “/opt/lampp/etc/certs/gd_bundle-g2-g1.crt”
Step 8 – Restart XAMPP
Latest posts by Rajesh Kumar (see all)
- What is Mobile Virtual Network Operator? - April 18, 2024
- What is Solr? - April 17, 2024
- Difference between UBUNTU and UBUNTU PRO - April 17, 2024