tests: moved all certificates and keys in certs/

This commit is contained in:
Nikos Mavrogiannopoulos
2016-06-16 12:59:08 +02:00
parent 0810cc0aa7
commit 5c88ee7715
57 changed files with 125 additions and 1035 deletions

View File

@@ -58,7 +58,7 @@ fi
echo ""
echo "Connecting with correct username"
$ECHO_E "test" >pass-full$TMP
$OPENCONNECT $IP:$PORT_OCSERV -b --sslkey ./user-key.pem -c ./user-cn.pem --pid-file $PIDFILE -u test --passwd-on-stdin -v --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 < pass-full$TMP
$OPENCONNECT $IP:$PORT_OCSERV -b --sslkey ./certs/user-key.pem -c ./certs/user-cn.pem --pid-file $PIDFILE -u test --passwd-on-stdin -v --servercert=d66b507ae074d03b02eafca40d35f87dd81049d3 < pass-full$TMP
if test $? != 0;then
echo "Cannot connect to server"
stop