Autentificare






 
Cos
Produs Perioada
Nici un produs selectat
 

SSL HOW TO :: APACHE SSL CERTIFICATE INSTALATION

Installing a SSL Certificate on Apache with modSSL

In order to install your certificate, you will need to log in to your server on root account, because you must to be able to make changes to Apache's configuration files, and restart the Apache server process.

  • Copy the certificate and CA bundle file to your server, into a directory where you plan to keep your certificates.
    This is commonly /etc/httpd/ssl/.

  • You will now need to open in edit mode the Apache configuration file responsible for SSL settings. The location of this file can vary depending on your Apache's distribution.

  • Locate the VirtualHost section for the ssl-enabled site you are installing the certificate for. This will commonly begin <VirtualHost myIpAddress:*>.

  • Add the following lines into the VirtualHost section, making sure to change the paths of the files to correspond to the locations of the files on your server.
  • Apache 2.x:
    SSLEngine on
    DocumentRoot "path to server's files"
    ServerName myDomainName
    SSLCertificateKeyFile /etc/httpd/ssl/ssl.key/myserver.key
    SSLCertificateFile /etc/httpd/ssl/ssl.crt/myDomainName.crt
    SSLCertificateChainFile /etc/httpd/ssl/ssl.crt/myDomainName.ca-bundle
    ... other settings
    Apache 1.3.x:
    SSLEngine on
    DocumentRoot "path to server's files"
    ServerName myDomainName
    SSLCertificateKeyFile /etc/httpd/ssl/ssl.key/myserver.key
    SSLCertificateFile /etc/httpd/ssl/ssl.crt/myDomainName.crt
    SSLCACertificateFile /etc/httpd/ssl/ssl.crt/myDomainName.ca-bundle
    ... other settings

  • Save the changes to the file. Now you will need to restart Apache. Some Apache implementations need to 'stop' then 'start'.

  • If your server SSL key was password protected, the Apache prompt you for entry the password.

  • Test your instalation. You can use netstat -lpn and open in your browser the address https:// myDomainName.

Need direct support? contact us.