summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-01-20 10:18:54 +0100
committerLeif Johansson <leifj@sunet.se>2011-01-20 10:18:54 +0100
commit5e8720f89568ea09a4018cc2a3a14b2820086952 (patch)
tree42a47ab02f5e76f447cadc2a732bbd1ce778d2bb /scripts
parente7461ad394c962efeb65e2985fdf17971364f2c6 (diff)
split off interfederations from externals
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/aggregate.sh15
1 files changed, 12 insertions, 3 deletions
diff --git a/scripts/aggregate.sh b/scripts/aggregate.sh
index 7565e48a..92eb3b5c 100755
--- a/scripts/aggregate.sh
+++ b/scripts/aggregate.sh
@@ -1,7 +1,16 @@
#!/bin/sh
DIR=`pwd`
+ODIR=$1
-$DIR/scripts/pull-and-verify.sh 'http://spaces.internet2.edu/Shibboleth.sso/Metadata' $1 $DIR/certs/spaces.internet2.edu.crt
-$DIR/scripts/pull-and-verify.sh 'https://kalmar2.org/simplesaml/module.php/aggregator/?id=kalmarcentral2&set=saml2&exclude=sweden&mimetype=application/xml' $1 $DIR/certs/kalmar-signer.crt
-$DIR/scripts/pull-and-verify.sh 'http://discovery.shibboleth.net/shibboleth.net-metadata.xml' $1
+(while read url cert; do
+ cfile=""
+ if [ "x$cert" != "x" ]; then
+ cfile=$DIR/certs/$cert
+ fi
+ $DIR/scripts/pull-and-verify.sh $url $ODIR $cfile
+done) < $ODIR/metadata.lst
+
+#$DIR/scripts/pull-and-verify.sh 'http://spaces.internet2.edu/Shibboleth.sso/Metadata' $1 $DIR/certs/spaces.internet2.edu.crt
+#$DIR/scripts/pull-and-verify.sh 'https://kalmar2.org/simplesaml/module.php/aggregator/?id=kalmarcentral2&set=saml2&exclude=sweden&mimetype=application/xml' $1 $DIR/certs/kalmar-signer.crt
+#$DIR/scripts/pull-and-verify.sh 'http://discovery.shibboleth.net/shibboleth.net-metadata.xml' $1