raise max-age for HTTP Public Key Pins from 5 min to 1 hour
authorPeter Palfrader <peter@palfrader.org>
Tue, 4 Oct 2016 06:35:52 +0000 (08:35 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 4 Oct 2016 06:35:52 +0000 (08:35 +0200)
modules/apache2/templates/ssl-key-pins.erb

index 41cfcea..119f8a4 100644 (file)
@@ -23,7 +23,7 @@
     res << "<Macro http-pkp-#{site}>"
     if pin_info.size >= 2 then
       pin_info = pin_info.map{ |x| x.gsub('"', '\"') }
-      pin_info << "max-age=300"
+      pin_info << "max-age=3600"
       pin_str = pin_info.join("; ")
       res << "  Header always set Public-Key-Pins \"#{pin_str}\""
     else