38,760
edits
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
The most important question to answer is the "Common Name" question which should be the domain name of your server. In the case of a virtual machine | The most important question to answer is the "Common Name" question which should be the domain name of your server. In the case of a virtual machine in our clouds, it should look similar to the example response except that the string of Xs should be replaced with the floating-IP associated with the virtual machine. | ||
</li> | </li> | ||
<li><b>Set ownership and permissions</b><br/> | <li><b>Set ownership and permissions</b><br/> | ||
Set the correct ownership and permissions of the private key with | Set the correct ownership and permissions of the private key with {{Commands|sudo chown root:ssl-cert /etc/ssl/private/server.key|sudo chmod 640 /etc/ssl/private/server.key}} | ||
</li> | </li> | ||
<li><b>Configure Apache to use the certificate</b><br/> | <li><b>Configure Apache to use the certificate</b><br/> | ||
Line 24: | Line 24: | ||
<nowiki>SSLHonorCipherOrder on</nowiki> | <nowiki>SSLHonorCipherOrder on</nowiki> | ||
</pre> | </pre> | ||
at the bottom of the entry inside the <code><VirtualHost></code> tag replacing | at the bottom of the entry inside the <code><VirtualHost></code> tag replacing XXX-XXX-XXX-XXX with your VM's IPs (note the '-' are needed in place of '.'). Also, put a redirect directive on our virtual host by editing the default website configuration file with | ||
{{Command| sudo vim /etc/apache2/sites-available/000-default.conf }}and adding the line | {{Command| sudo vim /etc/apache2/sites-available/000-default.conf }}and adding the line |