mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-03 03:07:18 +00:00
catch more tls errors where we know it's a trust issue
This commit is contained in:
parent
eeb8a47806
commit
667d4e0474
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ class ClientTLSLayer(_TLSLayer):
|
|||
f"Client and mitmproxy cannot agree on a TLS version to use. "
|
||||
f"You may need to adjust mitmproxy's tls_version_client_min option."
|
||||
)
|
||||
elif "unknown ca" in err or "bad certificate" in err:
|
||||
elif "unknown ca" in err or "bad certificate" in err or "certificate unknown" in err:
|
||||
err = f"The client does not trust the proxy's certificate for {dest} ({err})"
|
||||
elif err == "connection closed":
|
||||
err = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue