summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-09-23 15:37:55 +0200
committerLeif Johansson <leifj@sunet.se>2011-09-23 15:37:55 +0200
commit209639c80fb9131cd37ea91c6c6a2cf026fd99e6 (patch)
tree576d476690d56c2ec4b2f6b5c25ee62fec0a4e70
parent7e5e7404a8538edef755760d071a15444200197f (diff)
validUntil and cacheDuration for swamid-2.0.xml
-rw-r--r--Makefile3
-rw-r--r--swamid-2.0.mxml1
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2d641686..f8c2d9ba 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ KEY=/opt/swamid-credentials/swamid-signer.key
CERT=/opt/swamid-credentials/swamid-signer.crt
PASS=$(shell cat /opt/swamid-credentials/swamid-signer-pass.txt)
DEST=/opt/published-metadata
+DAYS=1
all: update clean sign
@@ -41,7 +42,7 @@ swamid1:
swamid2-deps: swamid-backport-1.0.xml swamid-externals-sp-2.0.xml
swamid2: swamid2-deps
- @saml-md-tool swamid-2.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)
+ @saml-md-tool swamid-2.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS) --days=$(DAYS)
@test -s swamid-2.0.xml && cp swamid-2.0.xml $(DEST)
swamid-backport-1.0.xml:
diff --git a/swamid-2.0.mxml b/swamid-2.0.mxml
index 5d62124d..c2216a85 100644
--- a/swamid-2.0.mxml
+++ b/swamid-2.0.mxml
@@ -1,6 +1,7 @@
<?xml version="1.0"?>
<EntitiesDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:xi="http://www.w3.org/2001/XInclude"
+ validUntil="1970-01-01T00:00:00Z" cacheDuration="PT8H"
Name="http://md.swamid.se/md/swamid-2.0.xml">
<!--