3 # run server side of SSL client certificate state test.
5 set SSL_KEYCHAIN
=localcert
7 # use this to explicitly open the keychain
9 set KEYCHAIN_PWD
="z=localcert"
12 echo ===== Run authClient
script after server starts up
13 echo ===== Server tries authentication
, client refuses
15 set cmd
="sslServer P=1200 k=$SSL_KEYCHAIN $KEYCHAIN_PWD u=t T=r"
20 echo ===== prompt the authClient Script
21 echo ===== Server tries authentication
, client sends cert
23 set cmd
="sslServer P=1201 k=$SSL_KEYCHAIN $KEYCHAIN_PWD u=t T=s"
28 echo ===== prompt the authClient Script
29 echo ===== Server requires authentication
, client refuses
, expect error
31 set cmd
="sslServer P=1202 k=$SSL_KEYCHAIN $KEYCHAIN_PWD u=a T=r"
35 echo @@@@@@ expected one error from sslServer
; got
$status; aborting.
40 echo ===== prompt the authClient Script
41 echo ===== Server requires authentication
, client refuses
, SSL3
, expect error
43 set cmd
="sslServer P=1203 k=$SSL_KEYCHAIN $KEYCHAIN_PWD u=a T=r"
47 echo @@@@@@ expected one error from sslServer
; got
$status; aborting.
52 echo ===== prompt the authClient Script
53 echo ===== Server requires authentication
, client sends cert
55 set cmd
="sslServer P=1204 k=$SSL_KEYCHAIN $KEYCHAIN_PWD u=a T=s"
60 echo ===== authServe success