X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/88d4370f3c466fc38918c432e825a67804c9e385..643f28e4f32f013c16d04378d7d1f3dd7d8edc17:/cookbooks/apache/templates/default/ssl.erb?ds=sidebyside diff --git a/cookbooks/apache/templates/default/ssl.erb b/cookbooks/apache/templates/default/ssl.erb index 03b77f54b..17ee112b6 100644 --- a/cookbooks/apache/templates/default/ssl.erb +++ b/cookbooks/apache/templates/default/ssl.erb @@ -3,11 +3,9 @@ SSLProtocol All -SSLv2 -SSLv3 SSLHonorCipherOrder On -SSLCipherSuite <%= node[:ssl][:ciphers] -%> - -SSLCertificateFile /etc/ssl/certs/<%= @certificate %>.pem -SSLCertificateKeyFile /etc/ssl/private/<%= @certificate %>.key +SSLCipherSuite <%= node[:ssl][:ciphers] %> <% if node[:lsb][:release].to_f < 16.04 -%> + SSLCertificateChainFile /etc/ssl/certs/letsencrypt.pem <% end -%>