3 # run client-side authenticaiton tests on external servers. These
4 # servers will undoubtedly change their behavior some day.
7 set SSL_KEYCHAIN
=localcert
9 # use this to explicitly open the keychain
13 set KEYCHAIN_PWD
="z=localcert"
15 # doncio root; we'll implicitly trust it for now
17 set DONCIO_ROOT
="a doncioRoot.cer"
19 set TEST_HOST
=doncio.net
20 set TEST_PATH
=/secure
/DoD_soft_cert
22 echo ===== $TEST_HOST/$TEST_PATH requests authentication
23 set cmd
="sslViewer $TEST_HOST $TEST_PATH 3 $DONCIO_ROOT T=r"
26 set cmd
="sslViewer $TEST_HOST $TEST_PATH t $DONCIO_ROOT T=r"
29 echo ===== Try with our bogus cert
, expect fail
30 set cmd
="sslViewer $TEST_HOST $TEST_PATH k=$SSL_KEYCHAIN $KEYCHAIN_PWD t $DONCIO_ROOT T=j"
34 echo @@@@@@ expected one error from sslViewer
, got
$status, aborting.
37 set cmd
="sslViewer $TEST_HOST $TEST_PATH k=$SSL_KEYCHAIN $KEYCHAIN_PWD 3 $DONCIO_ROOT T=j"
41 echo @@@@@@ expected one error from sslViewer
, got
$status, aborting.
46 echo ===== authExtern success