Instant Guide with Few Steps for Installing SSL Certificate on Apache CentOS
The CentOS is one of the reliable and flexible enterprise-level web platforms and the ownership is claimed by Red Hat Enterprise Linux (RHEL).
We dig deep through our Linux technical engineer to produce this end-to-end guide of SSL certificate installation for Apache CentOS server.
Step 1: Download all your SSL certificates from the Certificate Authority console. The zip folder will include Primary Certificate and Intermediate Certificate.
Step 2: Copy and paste primary certificate and intermediate certificate on your Apache web server. Also, you need to add your private key file on the server which you had while producing a Certificate Signing Request or CSR.
Step 3: Open the Apache Configuration files: httpd.conf or ssl.conf.
Step 4: Open httpd.conf file from your Apache Configuration settings and add the following commands.
# cp /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf.BAK
# nano /etc/httpd/conf.d/ssl.conf
Step 5: Set your own path to each shown directive. We added an example here.
SSLCertificateFile /etc/httpd/conf/ssl.crt/your_domain_certificate.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/your_website_name.key
SSLCACertificatePath /etc/httpd/conf/ssl.chain/your_intermediatecertificate_chain.crt
Step 6: Save httpd.conf file and Restart Apache CentOS server. That’s it. You are done with SSL Certificate Installation on Apache CentOS.