Help & Support
SHOULD YOU NEED ANY ASSISTANCE?
Kindly contact us
Install SSL on Apache Httpd (OpenSSL)
Download and copy your certificate files to your server
- Download your SSL certificate and support files by clicking on the download link in your email sent y Entrust. Please follow all the step available and save all files to your computer.
A typical download will contain these files:
- For SHA2:
L1Kroot.txt
L1Kchain.txt
entrustcert.txt
- For SHA2:
- Rename all the files from a .txt extension to .pem extension.
Configure the server
- Open Notepad (if you're using Windows) or other text-editor program of your choice, copy the content of first two file into the notepad (with correct order as above), and append each file into the notepad. Save as
ca-bundle.pem
- Copy both file to the server
- Now, in the server (linux), open the Apache
httpd.conf
file in a text editor or using Terminal, type: - This is a default location of a typical Apache installation on Red Hat. If you're unsure of the configuration file location, you can check it using these command:
apache2ctl -V | grep SERVER_CONFIG_FILE
orapachectl -V | grep SERVER_CONFIG_FILE
orhttpd -V | grep SERVER_CONFIG_FILE
- Locate the configuration line as below:
SSLCertificateFile "/etc/pki/tls/cert/server.pem"
SSLCertificateKeyFile "/etc/pki/tls/private/server.key"
SSLCertificateChainFile "/etc/pki/tls/cert/ca-bundle.pem"
- replace the value into below:
- Save your
httpd-ssl.conf
file and restart Apache. Now please check the configuration by typing this command: - It should return Syntax OK. If not, check the
httpd-ssl.conf
file and amend any error
nano /usr/local/apache2/conf/httpd-ssl.conf
service apache2 configtest
or service apache configtest
or service httpd configtest