aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2018-08-03 09:40:55 +0200
committerGitHub <noreply@github.com>2018-08-03 09:40:55 +0200
commite74e97bcd96346a1ae8c372a94149100a755739a (patch)
tree837aeba3851a5d623fc34765ef5aa462c2ad6282
parent22347d48e9fb84e43e817746b399e5d258fb4802 (diff)
parentec9b8bf1eb5b713b2a0c6e476db929e97037c5c2 (diff)
downloadmitmproxy-e74e97bcd96346a1ae8c372a94149100a755739a.tar.gz
mitmproxy-e74e97bcd96346a1ae8c372a94149100a755739a.tar.bz2
mitmproxy-e74e97bcd96346a1ae8c372a94149100a755739a.zip
Merge pull request #3280 from muffl0n/ssl-insecure
Suggest --ssl-insecure cause --insecure is deprecated
-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")