Certbot with Apache: Difference between revisions
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
<blockquote>Include /etc/httpd/conf/httpd-le-ssl.conf</blockquote><IfModule mod_ssl.c> | <blockquote>Include /etc/httpd/conf/httpd-le-ssl.conf</blockquote><IfModule mod_ssl.c> | ||
<source lang="text"> | |||
<VirtualHost *:443> | <VirtualHost *:443> | ||
DocumentRoot /var/www/html/AstoundingPublications.com | |||
ServerName www.AstoundingPublications.com | |||
CustomLog "logs/AstoundingPublications.com/www.Access.LOG" combinedio | |||
<Directory "/var/www/html/AstoundingPublications.com"> | |||
AllowOverride ALL | |||
Require all granted | |||
</Directory> | |||
ServerAlias www.astoundingpublications.com | ServerAlias www.astoundingpublications.com | ||
SSLCertificateFile /etc/letsencrypt/live/www.astoundingpublications.com/cert.pem | SSLCertificateFile /etc/letsencrypt/live/www.astoundingpublications.com/cert.pem | ||
SSLCertificateKeyFile /etc/letsencrypt/live/www.astoundingpublications.com/privkey.pem | SSLCertificateKeyFile /etc/letsencrypt/live/www.astoundingpublications.com/privkey.pem | ||
Include /etc/letsencrypt/options-ssl-apache.conf | Include /etc/letsencrypt/options-ssl-apache.conf | ||
SSLCertificateChainFile /etc/letsencrypt/live/www.astoundingpublications.com/chain.pem | SSLCertificateChainFile /etc/letsencrypt/live/www.astoundingpublications.com/chain.pem | ||
</VirtualHost> | </VirtualHost> | ||
</IfModule> | </IfModule> | ||
</source> | |||