]> git.openstreetmap.org Git - chef.git/blob - cookbooks/apache/templates/default/ssl.erb
Explicitly load letsencrypt intermediate on 14.04 machines
[chef.git] / cookbooks / apache / templates / default / ssl.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 SSLProtocol All -SSLv2 -SSLv3
4
5 SSLHonorCipherOrder On
6 SSLCipherSuite <%= node[:ssl][:ciphers] -%>
7
8 SSLCertificateFile /etc/ssl/certs/<%= @certificate %>.pem
9 SSLCertificateKeyFile /etc/ssl/private/<%= @certificate %>.key
10 <% if node[:lsb][:release].to_f < 16.04 -%>
11 SSLCertificateChainFile /etc/ssl/certs/letsencrypt.pem
12 <% end -%>
13
14 SSLUseStapling On
15 SSLStaplingResponderTimeout 5
16 SSLStaplingReturnResponderErrors off
17 SSLStaplingCache shmcb:${APACHE_RUN_DIR}/ssl_ocspcache(512000)