Getting SSL
...
certificate
A SSL certificate is issue by a Certificate Authority (CA). Your internal IT/IS team might be able to help you with this. You might have to submit the basic information in the form of CSR (Certificate Signing requestRequest). One can generate the CSR using the OpenSSL, for detailed steps please referRefer this page to regenerate CSR: https://in.godaddy.com/help/generating-a-certificate-signing-request-csr-apache-2x-5269
Configure Apache
...
Once you have the SSL certificates ready now. Now we need to move the ssl-certificate.crt and ssl-certifcate.key file to ${apache_home}/conf directory
...
certificate, you can proceed to configure Apache:
Open "${apache_home}conf/httpd.conf" file
Search for the "LoadModule ssl_module modules/mod_ssl.so" and remove any pound sign(#)
character proceeding it.at the start of the line (i.e. un-comment it)
- Add below :
...
- section at the end of the file:
Code Block |
---|
Listen 443 <VirtualHost _default_:443> ServerAdmin <admin@domain.com> DocumentRoot "Your root folder location" ServerName www.domain.com:443 ServerAlias domain.com:443 ErrorLog "${apache_home}/logs/anyFile-error.log" CustomLog "${apache_home}/logs/anyFile-access.log" SSLEngine on SSLCertificateFile "${apache_home}/conf/server.crt" SSLCertificateKeyFile "${apache_home}/conf/server.key" </VirtualHost> Note: Make sure that "SSLCertificateFile" and "SSLCertificateKeyFile" are properly located. |
...