From ec9b8bf1eb5b713b2a0c6e476db929e97037c5c2 Mon Sep 17 00:00:00 2001 From: "[OSC] Sven Schliesing" Date: Fri, 3 Aug 2018 08:31:54 +0200 Subject: [PATCH] Suggest --ssl-insecure cause --insecure is deprecated --- mitmproxy/proxy/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/proxy/server.py b/mitmproxy/proxy/server.py index 57311596c..44ae56976 100644 --- a/mitmproxy/proxy/server.py +++ b/mitmproxy/proxy/server.py @@ -131,7 +131,7 @@ class ConnectionHandler: self.log(repr(e), "debug") elif isinstance(e, exceptions.InvalidServerCertificate): self.log(str(e), "warn") - self.log("Invalid certificate, closing connection. Pass --insecure to disable validation.", "warn") + self.log("Invalid certificate, closing connection. Pass --ssl-insecure to disable validation.", "warn") else: self.log(str(e), "warn")