diff --git a/t/integration/ssl.sh b/t/integration/ssl.sh
index c68494afbe7617e3da7d742e2803544aee9b28f3..cea2380087aa7626cf91e32943d623461db47fc1 100755 (executable)
--- a/t/integration/ssl.sh
+++ b/t/integration/ssl.sh
run_sysdb -H "localhost:12345" -c 'LIST hosts' -U "$SYSDB_USER-invalid" \
-A "$CA_CERT" -C "$CLIENT_CERT" -K "$CLIENT_KEY" && exit 1
+run_sysdb -H "localhost:12345" -c 'LIST hosts' -U "$SYSDB_USER-invalid" \
+ -A "$CA_CERT" -C "${CLIENT_CERT}.doesnotexist" -K "$CLIENT_KEY" && exit 1
+
run_sysdb -H "localhost:12345" -c 'LIST hosts' -U "$SYSDB_USER" \
-A "$CA_CERT" -C "$CLIENT_CERT" -K "$CLIENT_KEY"