From a64edf9c6da9610648a61a3a351295e94835216e Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 2 Apr 2014 13:12:50 +0200 Subject: [PATCH] better message --- tests/test-cert | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-cert b/tests/test-cert index 6ebbdc02..153df0f2 100755 --- a/tests/test-cert +++ b/tests/test-cert @@ -55,7 +55,7 @@ echo -n "Connecting to obtain cookie (with certificate)... " echo ok -#revoking the certificate +#revoke the certificate certtool --generate-crl --load-ca-privkey ca-key.pem --load-ca-certificate ca.pem \ --load-certificate ./user-cert.pem --outfile crl.pem --template crl.tmpl >/dev/null 2>&1 if test $? != 0;then @@ -67,7 +67,7 @@ echo "Reloading server" kill -HUP $PID sleep 5 -echo -n "Connecting to obtain cookie (with certificate)... " +echo -n "Connecting to obtain cookie (with revoked certificate)... " ( openconnect -q localhost:$PORT --sslkey ./user-key.pem -c ./user-cert.pem --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 --cookieonly /dev/null 2>&1 ) && fail $PID "Connected with revoked certificate!"