Difference between revisions of "Ssl"
From Wasya Wiki
(Created page with " From: https://www.namecheap.com/support/knowledgebase/article.aspx/9446/0/apache-opensslmodsslnginx openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr") |
|||
| Line 2: | Line 2: | ||
From: https://www.namecheap.com/support/knowledgebase/article.aspx/9446/0/apache-opensslmodsslnginx | From: https://www.namecheap.com/support/knowledgebase/article.aspx/9446/0/apache-opensslmodsslnginx | ||
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr | openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr | ||
| + | |||
| + | SSLEngine on | ||
| + | SSLCertificateFile /etc/apache2/ssl/static.piousbox.com/static_piousbox_com.crt | ||
| + | SSLCertificateKeyFile /etc/apache2/ssl/static.piousbox.com/server.key | ||
| + | SSLCACertificateFile /etc/apache2/ssl/static.piousbox.com/static_piousbox_com.ca-bundle | ||
| + | |||
| + | Don't forget to chmod +x, the user is www-data, verify with https://www.sslshopper.com/ssl-checker.html#hostname=https://wasya.co/ | ||
Revision as of 19:14, 11 July 2018
From: https://www.namecheap.com/support/knowledgebase/article.aspx/9446/0/apache-opensslmodsslnginx
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
SSLEngine on SSLCertificateFile /etc/apache2/ssl/static.piousbox.com/static_piousbox_com.crt SSLCertificateKeyFile /etc/apache2/ssl/static.piousbox.com/server.key SSLCACertificateFile /etc/apache2/ssl/static.piousbox.com/static_piousbox_com.ca-bundle
Don't forget to chmod +x, the user is www-data, verify with https://www.sslshopper.com/ssl-checker.html#hostname=https://wasya.co/