Apache + ModSSL + OpenSSL Installation
You will receive an email from DynDNS letting you know that your order is complete. You will be able to proceed to your DynDNS Account to obtain your certificate.
Copy the certificate and paste it into a text editor
(such as notepad) to create text files.
SSL Certificate Installation
Note: The examples below use the following naming conventions: "Your Private
Key" = "domainname.key"; "Your Web Server Certificate"
= "domainname.crt"
- Copy the certificate to the Apache server directory in which
you plan to store your certificates (by default: /usr/local/apache/conf/ssl.crt/
or /etc/httpd/conf/ssl.crt/).
Note: Copy the entire contents of the certificate from (and
including) the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines.
- Open the httpd.conf file in a text editor.
- Locate the secure virtual host pertaining to your order. You should have
the following directives within this virtual host. Please add them if they
are not present:
SSLCertificateFile /usr/local/apache/conf/ssl.crt/domainname.crt
(or server.crt)
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/domainname.key
(or server.key)
- Save the changes and exit the editor.
- Start or Restart your apache web server using one of the following
commands:
By default:
/usr/local/apache/bin/apachectl startssl
or
/usr/local/apache/bin/apachectl restart
Other commands:
/usr/sbin/httpd startssl or restart
/usr/sbin/httpsd startssl or restart