Increase HSTS expiry
[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 <% if node[:lsb][:release].to_f < 16.04 -%>
8
9 SSLCertificateChainFile /etc/ssl/certs/letsencrypt.pem
10 <% end -%>
11
12 SSLUseStapling On
13 SSLStaplingResponderTimeout 5
14 SSLStaplingErrorCacheTimeout 60
15 SSLStaplingReturnResponderErrors off
16 SSLStaplingFakeTryLater off
17 SSLStaplingCache shmcb:${APACHE_RUN_DIR}/ssl_ocspcache(512000)
18
19 Header setifempty Strict-Transport-Security max-age=86400 env=HTTPS