From 8db700c791944766bae9556109d0076cc9f6ea8b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 31 May 2018 15:35:37 +0100 Subject: [PATCH 1/1] Send a report only Expect-CT header with https responses --- cookbooks/apache/templates/default/ssl.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/apache/templates/default/ssl.erb b/cookbooks/apache/templates/default/ssl.erb index 547c1eaa2..6835e8ea5 100644 --- a/cookbooks/apache/templates/default/ssl.erb +++ b/cookbooks/apache/templates/default/ssl.erb @@ -19,3 +19,5 @@ SSLStaplingCache shmcb:${APACHE_RUN_DIR}/ssl_ocspcache(512000) Header setifempty Strict-Transport-Security "<%= node[:ssl][:strict_transport_security] %>" env=HTTPS <% end -%> + +Header setifempty Expect-CT "max-age=0, report-uri=\"https://openstreetmap.report-uri.com/r/d/ct/reportOnly\"" env=HTTPS -- 2.39.5