projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76a4576
)
raise HPKP timeout from 14 days to 60
author
Peter Palfrader
<peter@palfrader.org>
Sat, 3 Dec 2016 09:38:13 +0000
(10:38 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sat, 3 Dec 2016 09:38:13 +0000
(10:38 +0100)
modules/apache2/templates/ssl-key-pins.erb
patch
|
blob
|
history
diff --git
a/modules/apache2/templates/ssl-key-pins.erb
b/modules/apache2/templates/ssl-key-pins.erb
index
8f096b1
..
7e891a2
100644
(file)
--- a/
modules/apache2/templates/ssl-key-pins.erb
+++ b/
modules/apache2/templates/ssl-key-pins.erb
@@
-23,7
+23,8
@@
res << "<Macro http-pkp-#{site}>"
if pin_info.size >= 2 then
pin_info = pin_info.map{ |x| x.gsub('"', '\"') }
- pin_info << "max-age=1209600"
+ # 60 days
+ pin_info << "max-age=5184000"
pin_str = pin_info.join("; ")
res << " Header always set Public-Key-Pins \"#{pin_str}\""
else