diff --git a/lib/interface.py b/lib/interface.py index 91bcf9150..30d749146 100644 --- a/lib/interface.py +++ b/lib/interface.py @@ -338,6 +338,8 @@ class Interface(threading.Thread): do_handshake_on_connect=True) except ssl.SSLError, e: print_error("SSL error:", self.host, e) + if e.errno != 1: + return if is_new: os.rename(temporary_path, cert_path + '.rej') else: