User Tools

Site Tools


apache:activate_ssl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
apache:activate_ssl [2022/06/14 08:15] peterapache:activate_ssl [2022/06/14 08:16] (current) – [Configure the Virtual Host] peter
Line 18: Line 18:
  
 <WRAP notice> <WRAP notice>
-**NOTE**:  When you enter all the details for the certificate make sure that you have the same common name as your hostname , otherwise you will get a warning in your apache2 log for not having the right hostname. (not neccessary, but better to avoid this) +**NOTE**:  When you enter all the details for the certificate make sure that you have the same common name as your hostname, otherwise you will get a warning in your apache2 log for not having the right hostname. (not neccessary, but better to avoid this)
-</WRAP>+
  
 Be sure to keep the intermediate files (.key and .csr) that you create in this step. Be sure to keep the intermediate files (.key and .csr) that you create in this step.
 +
 +</WRAP>
 +
 +
  
 ---- ----
Line 83: Line 86:
 </file> </file>
  
 +<WRAP info>
 **NOTE**: You can also put the line **NameVirtualHost [your IP address]:443** into **/etc/apache2/apache2.conf** for clarity. **NOTE**: You can also put the line **NameVirtualHost [your IP address]:443** into **/etc/apache2/apache2.conf** for clarity.
  
 +</WRAP>
  
 Now you can set up the site you want to run using SSL as you normally would. For example, you might have a file called 'mysite.conf' in /etc/apache2/sites-enabled, and you might add this to it: Now you can set up the site you want to run using SSL as you normally would. For example, you might have a file called 'mysite.conf' in /etc/apache2/sites-enabled, and you might add this to it:
apache/activate_ssl.1655194527.txt.gz · Last modified: 2022/06/14 08:15 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki