summaryrefslogtreecommitdiff
path: root/scripts/aggregate.sh
blob: 92eb3b5c78aa77fb8cff0e2b7e85295a5f234ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

DIR=`pwd`
ODIR=$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