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#
6set ARG_LIST =
7#
8while ( $#argv > 0 )
9	set thisArg = "$argv[1]"
10	set ARG_LIST = "$ARG_LIST $thisArg"
11	shift
12end
13echo 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# 
24set 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
35foreach site ($SSL_SITES);
36	$LOCAL_BUILD_DIR/sslViewer $site $ARG_LIST;
37end
38