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:
cc20dbf
)
raise max-age for HTTP Public Key Pins from 5 min to 1 hour
author
Peter Palfrader
<peter@palfrader.org>
Tue, 4 Oct 2016 06:35:52 +0000
(08:35 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 4 Oct 2016 06:35:52 +0000
(08:35 +0200)
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
41cfcea
..
119f8a4
100644
(file)
--- a/
modules/apache2/templates/ssl-key-pins.erb
+++ b/
modules/apache2/templates/ssl-key-pins.erb
@@
-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=3
6
00"
pin_str = pin_info.join("; ")
res << " Header always set Public-Key-Pins \"#{pin_str}\""
else