blob: 032292130ca6e59de67ac8fe86a2809dde5ff084 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
KEY=signer.key
CERT=signer.crt
PASS=$(shell cat /local/swamid-signer-pass.txt)
all: update sign
update:
@svn up -q
keys: $(KEY) $(CERT)
sign: keys swamid nya
swamid-test:
@saml-md-tool urn-mace-swami.se-swamid-test-1.0-metadata.mxml update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)
@test -s urn-mace-swami.se-swamid-test-1.0-metadata.xml && mv urn-mace-swami.se-swamid-test-1.0-metadata.xml /local/saml-metadata
@cp /local/saml-metadata/urn-mace-swami.se-swamid-test-1.0-metadata.xml /local/saml-metadata/urn-mace-swami.se-swamid-test-1.0-metadata-signed.xml
swamid:
@saml-md-tool swamid-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)
@test -s swamid-1.0.xml && mv swamid-1.0.xml /local/saml-metadata
nya:
@saml-md-tool nya-1.0 update --key=$(KEY) --cert=$(CERT) --pwd=$(PASS)
@test -s nya-1.0.xml && mv nya-1.0.xml /local/saml-metadata
|