Installing an SSL Certificate: Linux Apache


1. Upload the ssl certificate files to your preferred location on the apache server. Make the files readable by root only.

2. Open the Apache configuration file (usually httpd.conf) and locate the <VirtualHost> settings for the site the ssl certificate is intended.

3. Add the directives inside the <VirtualHost> stanza pointing to the location of the uploaded ssl certificate files.

<VirtualHost 10.0.0.1:443>
DocumentRoot /var/www/yoursite
ServerName www.yourdomain.com
SSLEngine on
SSLCertificateFile /path/to/your/domain-name.crt
SSLCertificateKeyFile /path/to/your/private.key
SSLCertificateChainFile /path/to/your/CA.crt
</VirtualHost>


4. Save and exit the apache configuration file.

5. Restart the Apache server:

sudo service apache2 reload
or
sudo /etc/init.d/apache2 restart
  • 46 Users Found This Useful
Was this answer helpful?

Related Articles

Improved Guidelines for Issuance of SAN SSL Certificates

Certificate Authorities (CA’s) will not issue SSL certificates with an expiry date later...

Generate a Certificate Signing Request (CSR): Windows IIS (All Versions)

Generate a Certificate Signing Request (CSR) - IIS 4 Run the Management Console. Expand the...

Installing an SSL Certificate: Windows IIS (All Versions)

Installing an SSL Certificate IIS 5 & 6 1. Open the IIS management console and select the...

Installing an SSL Certificate: Exchange 2010

1. Place a copy of your ssl certificate on your exchange server.2. Open the Exchange 2010...

Backup, Export or Import an SSL Certificate: IIS and Exchange

Exporting an SSL Certificate IIS 71. Open the IIS 7 management console and select the server name...