]> git.saurik.com Git - apple/security.git/blob - sslViewer/pingSslSites
Security-58286.251.4.tar.gz
[apple/security.git] / sslViewer / pingSslSites
1 #! /bin/csh -f
2 #
3 # run sslViewer on a list of known sites. Arguments to this script are passed on
4 # to sslViewer unmodified.
5 #
6 set ARG_LIST =
7 #
8 while ( $#argv > 0 )
9 set thisArg = "$argv[1]"
10 set ARG_LIST = "$ARG_LIST $thisArg"
11 shift
12 end
13 echo Starting pingSslSites\; args: $ARG_LIST
14 #
15 # NOTE: using this list generates two errors when run without the 'e r' options.
16 # -- www.xdss.com has an unrecognized root cert.
17 # -- accounts2.keybank.com has an unrecognized cert in SSLv2 mode only
18 #
19 # Other anomalies:
20 #
21 # -- store.apple.com only supports SSlv2 (!)
22 # -- www.xdss.com does not support TLSv1
23 #
24 set SSL_SITES = (www.cduniverse.com \
25 www.amazon.com \
26 store.apple.com \
27 www.xdss.com \
28 accounts2.keybank.com \
29 cdnow.com \
30 www.proteron.com \
31 config.puretec.de \
32 www.thawte.com \
33 secure.authorize.net)
34
35 foreach site ($SSL_SITES);
36 $LOCAL_BUILD_DIR/sslViewer $site $ARG_LIST;
37 end