aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/proxy
diff options
context:
space:
mode:
author[OSC] Sven Schliesing <s.schliesing@ndr.de>2018-08-03 08:31:54 +0200
committer[OSC] Sven Schliesing <s.schliesing@ndr.de>2018-08-03 08:31:54 +0200
commitec9b8bf1eb5b713b2a0c6e476db929e97037c5c2 (patch)
tree837aeba3851a5d623fc34765ef5aa462c2ad6282 /mitmproxy/proxy
parent22347d48e9fb84e43e817746b399e5d258fb4802 (diff)
downloadmitmproxy-ec9b8bf1eb5b713b2a0c6e476db929e97037c5c2.tar.gz
mitmproxy-ec9b8bf1eb5b713b2a0c6e476db929e97037c5c2.tar.bz2
mitmproxy-ec9b8bf1eb5b713b2a0c6e476db929e97037c5c2.zip
Suggest --ssl-insecure cause --insecure is deprecated
Diffstat (limited to 'mitmproxy/proxy')
-rw-r--r--mitmproxy/proxy/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/proxy/server.py b/mitmproxy/proxy/server.py
index 57311596..44ae5697 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")