summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a6597732..f7a1f2ed 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ update:
keys: $(KEY) $(CERT)
-sign: keys swamid nya swamid-compat
+sign: keys swamid nya swamid-compat nya-testing swamid-testing
urn-mace-swami.se-swamid-test-1.0-metadata.mxml:
@sed 's!http://md.swamid.se/md/swamid-1.0.xml!urn:mace:swami.se:swamid:test-1.0!g' < swamid-1.0.mxml > urn-mace-swami.se-swamid-test-1.0-metadata.mxml
@@ -30,5 +30,13 @@ nya:
@test -s nya-1.0.xml && cp nya-1.0.xml /local/saml-metadata
@test -s nya-1.0-unsigned.xml && cp nya-1.0-unsigned.xml /local/saml-metadata
+nya-testing:
+ @saml-md-tool nya-1.0-testing update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)
+ @test -s nya-1.0-testing.xml && cp nya-1.0-testing.xml /local/saml-metadata
+
+swamid-testing:
+ saml-md-tool swamid-1.0-testing update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)
+ @test -s swamid-1.0-testing.xml && cp swamid-1.0-testing.xml /local/saml-metadata
+
clean:
@rm -f *.xml