Skip to content

Commit

Permalink
Handle certificate unknown error
Browse files Browse the repository at this point in the history
Sometimes OpenSSL will throw a certificate unknown error that was
previously not handled, causing sslyze to crash.
  • Loading branch information
SG420 committed Aug 1, 2024
1 parent 761892b commit 6a8d48f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sslyze/connection_helpers/tls_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def _open_socket(server_location: ServerNetworkLocation, network_timeout: int) -
# enabled in the client; for example client only supports EC cipher suites but server returned an RSA certificate
"wrong certificate type": "Server returned wrong certificate type",
"invalid encoding": "TLS error: Invalid encoding",
"certificate unknown": "TLS alert: certificate unknown"
}


Expand Down

0 comments on commit 6a8d48f

Please sign in to comment.