summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2016-11-16 13:45:44 +0100
committerLeif Johansson <leifj@sunet.se>2016-11-16 13:45:44 +0100
commit3922dfa7ee1d8f492aa5d108a4ca2a87a3464bf4 (patch)
tree9314834193e33af15c433822f44d12deef6d1df7
parent71cfb426b1ef4c7eb506bb3bbc12984e0f4110b9 (diff)
copy cert in place
-rw-r--r--Makefile5
-rw-r--r--swamid2007.mk1
-rw-r--r--swamid2016.mk1
3 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2e8877c8..5dc044f6 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ SIGN := xslt/sign.xsl
-include $(SWAMID_MK_CONFIG)
-all: clean dependencies test sign clean web
+all: clean dependencies test sign clean web pubpubkey
MXML=$(shell echo *.mxml)
@@ -78,6 +78,9 @@ swamid: swamid-2.0.pub swamid-no-interfederation-combined.pub swamid-discovery.p
web: swamid-tou-en.txt swamid-tou-sv.txt HEADER.html README.html
rsync -avz swamid-tou-en.txt swamid-tou-sv.txt HEADER.html README.html bootstrap swamid-logo-3.png $(DEST)
+pubpubkey:
+ cp $(CERT) $(DEST)
+
swamid-interfederations-idp-2.0.xml: swamid-interfederations-2.0.mxml
@xsltproc --xinclude xslt/extract-idp.xslt swamid-interfederations-2.0.mxml > swamid-interfederations-idp-2.0.xml
diff --git a/swamid2007.mk b/swamid2007.mk
index c80be5c1..a43ff850 100644
--- a/swamid2007.mk
+++ b/swamid2007.mk
@@ -2,3 +2,4 @@ SIGNER := xmlsign -k http://swamid-hsmproxy.docker:8000/swamid/swamid -c /opt/sw
DEST := /opt/published-metadata/md.swamid.se
BASEURL:= http://md.swamid.se/md
SIGN := xslt/sign-luna.xsl
+CERT := /opt/swamid-credentials/swamid-signer.crt
diff --git a/swamid2016.mk b/swamid2016.mk
index 8175727c..870d7f17 100644
--- a/swamid2016.mk
+++ b/swamid2016.mk
@@ -2,3 +2,4 @@ SIGNER := xmlsign -k http://swamid-hsmproxy.docker:8000/swamid/swamid -c /opt/sw
DEST := /opt/published-metadata/mds.swamid.se
BASEURL:= http://mds.swamid.se/md
SIGN := xslt/sign-luna.xsl
+CERT := /opt/swamid-credentials/swamid-signer.crt