Installing SSL: Apache 1.x

The following instructions explain how to install an SSL certificate on an Apache web server version 1.x. 

The prerequisite is that the Apache web server is already installed with SSL support. 
The certificate and the private key are already present on the server. 

SSLCertificateKeyFile /etc/ssl/ssl.key/server.key
SSLCertificateFile /etc/ssl/ssl.crt/yourdomain.crt
SSLCertificateChainFile /etc/ssl/ssl.crt/

Step 1

Log in to your web server and open the configuration file with any editor (e.g. Notepad++, Sublime Text2) of your choice.

Fedora/CentOS/RHEL: /etc/httpd/conf/httpd.conf
Debian and Debian based: /etc/apache2/apache2.conf

Step 2

Locate the VirtualHost configuration section that you want to secure using SSL and add the following configuration.

SSLEngine on
SSLCertificateKeyFile /etc/ssl/ssl.key/server.key
SSLCertificateFile /etc/ssl/ssl.crt/yourdomain.crt
SSLCACertificateFile /etc/ssl/ssl.crt/

Then save the configuration and close the editor.

Step 3

Now test the configuration with the tool apachectl configtest.

If the output is error-free: Syntax OK, restart the web server service apachectl restart.

Was this article helpful?

Thank you very much for your review!

Thank you very much for your review!

You have already rated this item.

Thank you for your time.

Do you require assistance?


Telephone support

Companies that trust us

Other products you might be interested in
Website Builder
Create your own website without any programming knowledge.
Create a Website
Concentrate fully on your project! Performance and security included.
Optimize your Web site and achieve top rankings.
Website optimization
SSL Certificates
For your site, more safety protect yourself from hacker attacks.
Quickly protect