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