How to Install SSL

How to Install SSL:-

                                                The following section tells that how to install the SSL on the Apache Web Server.

  • Copy the certificate in your web server directory where you want to install SSL.  By default it is installed here /usr/local/apache/conf/ssl.crt/ or /etc/httpd/conf/ssl.crt/.  Copy the entire contents of the certificates beginning from. The -----BEGIN CERTIFICATE----- to-----END CERTIFICATE----- lines.
  • Open the httpd.conf file in your text editor.
  • Locate these virtual hosts. 

SSLCertificateFile /usr/local/apache/conf/ssl.crt/domainname.crt
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/domainname.key
(or server.key).  You need to add them if these are not present.
  • Close the file and restart your apache web server by using the following commands.
/usr/local/apache/bin/apachectl startssl
or
/usr/local/apache/bin/apachectl restart
After installing SSL, you need to test your certificate by connecting your browser to your web server. Use the https directives like https://your server/
The above steps shows that how to setup SSL on your Apache web server to start the secure communication.

Read Users' Comments (0)

0 Response to "How to Install SSL"

Post a Comment