apache2_ssl_debian
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
apache2_ssl_debian [2012/08/01 04:22] – created memeruiz | apache2_ssl_debian [2012/08/01 04:46] – memeruiz | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== apache2 + ssl + debian ====== | + | ====== apache2 + ssl + debian |
* Install apache2 | * Install apache2 | ||
Line 27: | Line 27: | ||
* Edit this files and only leave the certificate key in the .pem file and the private key in the .key file | * Edit this files and only leave the certificate key in the .pem file and the private key in the .key file | ||
+ | * Then edit / | ||
+ | |||
+ | SSLCertificateFile / | ||
+ | SSLCertificateKeyFile / | ||
+ | |||
+ | * Change permissions of the private key | ||
+ | |||
+ | sudo chmod 600 / | ||
+ | |||
+ | * Restart again | ||
+ | |||
+ | sudo / | ||
+ | |||
+ | * Disable http port. Edit / | ||
+ | |||
+ | # | ||
+ | #Listen 80 | ||
apache2_ssl_debian.txt · Last modified: 2021/02/01 05:55 by 127.0.0.1