690 shaares
3 liens privés
3 liens privés
1 résultat
taggé
encrypt
Ajout de règle pour laisser le répertoire acme accessible
<VirtualHost *:80>
RewriteEngine on
RewriteCond %{HTTPS} !=on [NC]
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
Include /etc/apache2/sites/demo.conf
</VirtualHost>
<VirtualHost *:443>
Include /etc/apache2/sites/demo.conf
SSLEngine on
SSLCertificateFile /etc/ssl/certs/demo.signed.crt
SSLCertificateKeyFile /etc/ssl/private/demo.key
SSLCertificateChainFile /etc/ssl/certs/letsencrypt-root-intermediate.pem
</VirtualHost>