Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not work on windows 10 #5513

Closed
spereg53 opened this issue Aug 3, 2022 · 8 comments
Closed

does not work on windows 10 #5513

spereg53 opened this issue Aug 3, 2022 · 8 comments
Labels
kind/triage Unclassified issues

Comments

@spereg53
Copy link

spereg53 commented Aug 3, 2022

Problem Description

installed on windows 10,configured on proxy :127.0.0.1:8080,but i can not get pages from internet

Steps to reproduce the behavior:

127.0.0.1:22968: Client TLS handshake failed. The client does not trust the proxy's certificate for vip2.fastcast4u.com (OpenSSL Error([('SSL routines', '', 'sslv3 alert certificate unknown')]))

System Information

Paste the output of "mitmproxy --8.1.1.

@spereg53 spereg53 added the kind/triage Unclassified issues label Aug 3, 2022
@Prinzhorn
Copy link
Member

Visit http://mitm.it to install the required certificate. https://docs.mitmproxy.org/stable/concepts-certificates/
Feel free to re-open with more details if that doesn't fix your problem.

@spereg53
Copy link
Author

spereg53 commented Aug 4, 2022 via email

@Prinzhorn
Copy link
Member

ceets work for all pages ,but not for gmail.com,what can i do???

  1. Provide steps to reproduce the error
  2. Explain what "does not work" mean. Is there an error message?
  3. Follow the template for reporting bugs if you believe this is a bug. In your case more information about the system such as what browser you are using.

"Does not work for gmail.com" is nothing we can act on.

@jamesenh
Copy link

I have the same problem, but I have installed a CA root certificate and still cannot intercept HTTPS requests
企业微信截图_16614948551627
image

mitmproxy --version
Mitmproxy: 8.0.0
Python: 3.8.6
OpenSSL: OpenSSL 1.1.1n 15 Mar 2022
Platform: Windows-10-10.0.19041-SP0

@Prinzhorn
Copy link
Member

Prinzhorn commented Aug 26, 2022

The client does not trust the proxy's certificate

What's the client? Some Python libraries don't use the Windows certificate store, that is not an issue with mitmproxy.

https://github.com/psf/requests/search?q=CERTIFICATE_VERIFY_FAILED&type=issues
https://github.com/psf/requests/blob/main/docs/user/advanced.rst#ssl-cert-verification
psf/requests#5316
psf/requests#2966

In the future when reporting bugs follow the template. You didn't provide steps to reproduce the error and didn't specify what client you were using. But I could somewhat guess form the error in the window behind mitmproxy.

@jamesenh
Copy link

image
However, using Firefox browser on Windows, accessing HTTPS page will also be regarded as invalid certificate, which I can not find where the problem is

@Prinzhorn
Copy link
Member

Prinzhorn commented Aug 26, 2022

We have very extensive documentation at https://docs.mitmproxy.org/stable/, you might want to check it out. Firefox doesn't use the system store either.

https://docs.mitmproxy.org/stable/concepts-certificates/#installing-the-mitmproxy-ca-certificate-manually
https://wiki.mozilla.org/MozillaRootCertificate#Mozilla_Firefox

If you have any suggestions how we can improve, feel free to open an issue.

@Frederick2001
Copy link

IMG_20240103_081129_040
After downloading mimproxy on my window 10 PC , then I typed the 'mitmproxy' command. It displays 502 Bad Gateway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/triage Unclassified issues
Projects
None yet
Development

No branches or pull requests

4 participants