Skip to content

Commit 3a047c6

Browse files
committed
Ignore incidental OpenSSLError in cert scan
1 parent 1debbc9 commit 3a047c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sslyze/plugins/certificate_info/implementation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def result_for_completed_scan_jobs(
122122
received_chain_as_pem, ocsp_response, custom_ca_file, was_sni_used = completed_job.get_result()
123123
assert received_chain_as_pem, "Should never happen as we always retrieve a certificate chain"
124124

125-
except TlsHandshakeFailed as exc:
125+
except (TlsHandshakeFailed, nassl._nassl.OpenSSLError) as exc:
126126
# Can happen when trying to connect with specific cipher suites (such as RSA or non-RSA)
127127
# or when connectivity is bad
128128
all_handshake_failed_exceptions.append(exc)

0 commit comments

Comments
 (0)