diff --git a/cert_deets.py b/cert_deets.py index 4e6386e..0112087 100644 --- a/cert_deets.py +++ b/cert_deets.py @@ -102,9 +102,10 @@ if __name__ == "__main__": except ( ConnectionRefusedError, + ConnectionResetError, + socket.gaierror, ssl.CertificateError, ssl.SSLError, - socket.gaierror, TimeoutError, ) as error: display_error(endpoint, error)