How to get SSL certificates and Enabled HTTPS for any domain and websites in Apache?

Friends, I am still writing this post and its under process. This is just for creating a skeleton for this post. It might help you.

Step 1 – Generate PRIVATE KEY. usually we do using openssl tool

Output – .key file

Step 2 – Generate CSR file using the same key. usually we do using openssl tool

Output – .csr file

Step 3 – Send a .csr file to CA for approved certificate file

CA, There are many CAs in the world liek GodADDY, aws, aZURE, gOOGLE cLOUD, VERIZON etc. You can also become CA but its costly affairs
Output – .cert file

Step 4 – Enable SSL in Apache configuration

Step 5 – Set SSL cert in httpd-ssl.conf

SSLEngine on
SSLCertificateFile "/opt/lampp/etc/certs/domain.crt"
SSLCertificateKeyFile "/opt/lampp/etc/certs/domain.key"
SSLCACertificateFile "/opt/lampp/etc/certs/mygd_bundle-g2-g1.crt"

Step 6 – Restart Apache.

Detail and step by step tutorials, I would publish soon.

Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)