Apache + SSLeay Certificate Installation
Installing your Web Server Certificate
Your certificate will be sent to you by email. The email message includes
the web server certificate that you purchased in the body of the email
message.
Note: The examples below use the following naming convention:
"Your Web Server Certificate" = "mydomain.com.crt".
1. Copy the certificate to the directory that you designate. This is
the directory in which you plan to store your certificate. (Default:
/usr/local/apache/conf/ssl.crt or /etc/httpd/conf/ssl.crt)
Note: Copy the entire contents of your certificate from the -----BEGIN
CERTIFICATE----- up to and including the -----END CERTIFICATE----- lines.
2. If you have not already set up a secure virtual host, refer to the
following link for more information: http://www.linuxdoc.org/HOWTO/SSL-RedHat-HOWTO.html
3. Open the httpd.conf file in a text editor.
4. Locate the secure virtual host pertaining to your order. You should
have the following directives within this virtual host. Please add them
if you do not. SSLCertificateFile /usr/local/apache/conf/ssl.crt/mydomain.com.crt
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/mydomain.com.key
(or server.key).
5. Save the changes and exit the editor.
6. Start or Restart your apache Web server. By default:
/usr/local/apache/bin/apachectl startssl Or /usr/local/apache/bin/apachectl
restart Other Commands: /usr/sbin/httpd startssl/restart /usr/sbin/httpsd
startssl/restart.
7. Test your certificate by connecting to your server. Use the
https protocol directive (e.g. https://your server/) to indicate you wish
to use secure HTTP.
Note: The padlock icon on your Web browser should be displayed
in the locked position if the site is set up properly.
|