Skip to content

Commit 10af7ee

Browse files
committed
Plaintext test clarification
1 parent 77ce22a commit 10af7ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,8 @@ else
518518
exit 1
519519
fi
520520

521-
message " Check that HTTP server does not have any client certificate property"
522-
CLIENT_CERT=$(curl -sk --cert cert.pem --key testpk.pem http://localhost:8080/ | jq 'has("clientCertificate")')
521+
message " Check that plaintext HTTP port does not have any client certificate property"
522+
CLIENT_CERT=$(curl -s http://localhost:8080/ | jq 'has("clientCertificate")')
523523
if [[ "$CLIENT_CERT" == "false" ]]
524524
then
525525
passed "Client certificate details are not present in regular HTTP server"

0 commit comments

Comments
 (0)