apache:activate_ssl
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
apache:activate_ssl [2016/11/10 09:55] – [Listen on Port 443] peter | apache:activate_ssl [2022/06/14 08:16] (current) – [Configure the Virtual Host] peter | ||
---|---|---|---|
Line 5: | Line 5: | ||
sudo mkdir / | sudo mkdir / | ||
+ | ---- | ||
===== Get a certificate ===== | ===== Get a certificate ===== | ||
Line 17: | Line 18: | ||
<WRAP notice> | <WRAP notice> | ||
- | **NOTE**: | + | **NOTE**: |
- | </ | + | |
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. | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
===== Activate SSL ===== | ===== Activate SSL ===== | ||
Line 31: | Line 36: | ||
</ | </ | ||
+ | ---- | ||
===== Listen on Port 443 ===== | ===== Listen on Port 443 ===== | ||
Line 43: | Line 49: | ||
**NOTE: | **NOTE: | ||
</ | </ | ||
+ | |||
+ | ---- | ||
===== Create a SSL page under sites-available ===== | ===== Create a SSL page under sites-available ===== | ||
Line 61: | Line 69: | ||
</ | </ | ||
+ | ---- | ||
===== Configure the Virtual Host ===== | ===== Configure the Virtual Host ===== | ||
Line 77: | Line 86: | ||
</ | </ | ||
+ | <WRAP info> | ||
**NOTE**: You can also put the line **NameVirtualHost [your IP address]: | **NOTE**: You can also put the line **NameVirtualHost [your IP address]: | ||
+ | </ | ||
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 ' | 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 ' | ||
Line 104: | Line 115: | ||
Restart apache, and your site should work | Restart apache, and your site should work | ||
+ | ---- | ||
===== References ===== | ===== References ===== | ||
Line 110: | Line 122: | ||
* https:// | * https:// | ||
* http:// | * http:// | ||
+ | |||
apache/activate_ssl.1478771727.txt.gz · Last modified: 2020/07/15 09:30 (external edit)