Switch mediawiki sites to letsencrypt certificates
authorTom Hughes <tom@compton.nu>
Sun, 12 Feb 2017 10:10:08 +0000 (10:10 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 12 Feb 2017 10:10:08 +0000 (10:10 +0000)
cookbooks/mediawiki/templates/default/apache.erb

index a3cb02a..0e17384 100644 (file)
@@ -11,6 +11,8 @@
 
 <% if port == 443 -%>
   SSLEngine on
+  SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
+  SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
 
   CustomLog /var/log/apache2/<%= @name %>-secure-access.log combined
   ErrorLog /var/log/apache2/<%= @name %>-secure-error.log