Skip to content

Commit

Permalink
crt -> pem
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrinth committed Feb 18, 2023
1 parent 2974f3f commit 7402ef9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/config.twig
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
{% include 'config-based-virtual-host.twig' %}

SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/{{ host.domain }}/cert.crt
SSLCertificateFile /etc/letsencrypt/live/{{ host.domain }}/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/{{ host.domain }}/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/{{ host.domain }}/chain.crt
SSLCertificateChainFile /etc/letsencrypt/live/{{ host.domain }}/chain.pem
</VirtualHost>
{% endfor %}
{% for host in defaulthosts %}
Expand All @@ -31,8 +31,8 @@
RewriteCond %{HTTP_HOST} !^{{ host.domain }}$ [NC]
RewriteRule (.*) https://{{ host.domain }}$1 [R,L]
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/{{ host.domain }}/cert.crt
SSLCertificateFile /etc/letsencrypt/live/{{ host.domain }}/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/{{ host.domain }}/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/{{ host.domain }}/chain.crt
SSLCertificateChainFile /etc/letsencrypt/live/{{ host.domain }}/chain.pem
</VirtualHost>
{% endfor %}

0 comments on commit 7402ef9

Please sign in to comment.