Customer Service | mail Send Email

Install SSL on Apache Httpd (OpenSSL)

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

  1. 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

  2. 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
  1. Now, in the server (linux), open the Apache httpd.conf file in a text editor or using Terminal, type:
  2. nano /usr/local/apache2/conf/httpd-ssl.conf
  3. 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 or
    • apachectl -V | grep SERVER_CONFIG_FILE or
    • httpd -V | grep SERVER_CONFIG_FILE
  4. 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"
  5. replace the value into below:
  6. Save your httpd-ssl.conf file and restart Apache. Now please check the configuration by typing this command:
  7. service apache2 configtest or service apache configtest or service httpd configtest
  8. It should return Syntax OK. If not, check the httpd-ssl.conf file and amend any error
You can most likely do so by using the apachectl script: service apache2 stop service apache2 start You should now be set to start using your Digicert certificate with your Apache mod_SSL Server
apache httpd openssl 
( RATING: 1.25  /  VOTES: 84 )