Send a report only Expect-CT header with https responses
[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 <% if node[:ssl][:strict_transport_security] -%>
19
20 Header setifempty Strict-Transport-Security "<%= node[:ssl][:strict_transport_security] %>" env=HTTPS
21 <% end -%>
22
23 Header setifempty Expect-CT "max-age=0, report-uri=\"https://openstreetmap.report-uri.com/r/d/ct/reportOnly\"" env=HTTPS