Repository navigation
Mitmproxy and TLS1.1 #6185
Replies: 4 comments 1 reply
|
Yes of course. For TLS_2, TLS_3 a correct error message is issued: |
|
I confirm that Mitmproxy does not work with tls versions lower than 1.2. |
|
Most likely this is caused by the used OpenSSL version. Since OpenSSL 3.1 old TLS modes are disabled by default:
Not sure how to set security level to 0 in python for the libraries used by mitmproxy. |
Uh oh!
There was an error while loading. Please reload this page.
It seems to me that mitmproxy does not work correctly with TLS1.1
While working with mitmroxy (the end goal is to change the User-Agent for all outgoing https requests), I encountered a situation where some requests through mitmproxy failed.
I did the analysis and wrote a synthetic test: Go program that downloads a small file from the Internet and at the same time directly controlled the TLS version of HTTPS request.
So, if this program downloads the file directly, then it works with all TLS versions: 1.1, 1.2, 1.3
But if I download the file through mitmproxy, then it is downloaded only with TLS versions: 1.2 and 1.3
With version 1.1, a "TLS handshake failed" error is thrown
From which I conclude that the server can work with all versions of TLS, and the problem is with mitmproxy.
I don't care what version the request from mitmproxy to the server will be made with; but in a real situation, apparently, some program accesses through mitmproxy and uses TLS1.1, which leads to an error.
What would you advise to do in this situation? OS is Windows 10.
The end goal, as I said, is to replace all User-Agents in all requests. This is necessary for Android Studio and Gradle to work on a computer in a local network with certain Internet restrictions (all packages that do not contain the word "chrome" in the User-Agent are blocked :) ).
All reactions