We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a632e3 commit 13d8db1Copy full SHA for 13d8db1
1 file changed
testssl.sh
@@ -9979,7 +9979,7 @@ certificate_info() {
9979
check_pwnedkeys "$HOSTCERT" "$cert_key_algo" "$cert_keysize"
9980
case "$?" in
9981
0) outln "not checked"; fileout "pwnedkeys${json_postfix}" "INFO" "not checked" ;;
9982
- 1) outln "not in database"; fileout "pwnedkeys${json_postfix}" "INFO" "not in database" ;;
+ 1) pr_svrty_good "not in database"; fileout "pwnedkeys${json_postfix}" "OK" "not in database" ;;
9983
2) pr_svrty_critical "NOT ok --"; outln " key appears in database"; fileout "pwnedkeys${json_postfix}" "CRITICAL" "private key is known" ;;
9984
7) prln_warning "error querying https://v1.pwnedkeys.com"; fileout "pwnedkeys${json_postfix}" "WARN" "connection error" ;;
9985
esac
0 commit comments