We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 92a80f7 + 43fade4 commit 0dac50cCopy full SHA for 0dac50c
1 file changed
testssl.sh
@@ -17998,7 +17998,7 @@ run_drown() {
17998
# to $CERT_FINGERPRINT_SHA2, so if $CERT_FINGERPRINT_SHA2 is not empty, but
17999
# $RSA_CERT_FINGERPRINT_SHA2 is empty, then the server doesn't have an RSA certificate.
18000
if [[ -z "$CERT_FINGERPRINT_SHA2" ]]; then
18001
- get_host_cert "-cipher aRSA"
+ get_host_cert "-cipher aRSA -no_ssl2"
18002
[[ $? -eq 0 ]] && cert_fingerprint_sha2="$($OPENSSL x509 -noout -in $HOSTCERT -fingerprint -sha256 2>>$ERRFILE | sed -e 's/^.*Fingerprint=//' -e 's/://g' )"
18003
else
18004
cert_fingerprint_sha2="$RSA_CERT_FINGERPRINT_SHA2"
0 commit comments