We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 52fe210 + f929e39 commit 3261e6eCopy full SHA for 3261e6e
1 file changed
testssl.sh
@@ -15646,7 +15646,7 @@ run_drown() {
15646
# to $CERT_FINGERPRINT_SHA2, so if $CERT_FINGERPRINT_SHA2 is not empty, but
15647
# $RSA_CERT_FINGERPRINT_SHA2 is empty, then the server doesn't have an RSA certificate.
15648
if [[ -z "$CERT_FINGERPRINT_SHA2" ]]; then
15649
- get_host_cert "-cipher aRSA"
+ get_host_cert "-cipher aRSA -no_ssl2"
15650
[[ $? -eq 0 ]] && cert_fingerprint_sha2="$($OPENSSL x509 -noout -in $HOSTCERT -fingerprint -sha256 2>>$ERRFILE | sed -e 's/^.*Fingerprint=//' -e 's/://g' )"
15651
else
15652
cert_fingerprint_sha2="$RSA_CERT_FINGERPRINT_SHA2"
0 commit comments