mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 08:35:53 +03:00
[GH-ISSUE #948] SSL Handshake Failed when listen Python #942
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#942
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Drovosek01 on GitHub (Aug 1, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/948
Originally assigned to: @NghiaTranUIT on GitHub.
Proxyman version? (Ex. Proxyman 1.4.3)
2.30.0
macOS Version? (Ex. mac 10.14)
macOS 10.14.6
Steps to reproduce
/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/ThisIsNoahEvans/f595e2e59ff4a00fdcf2decdc4415428/raw/install.sh)"Expected behavior
I expect to see the standard data display in the Response clause
Screenshots (optional)
@NghiaTranUIT commented on GitHub (Aug 1, 2021):
Hey @Drovosek01 Thanks for the report.
From the last screenshot, it seems Python doesn't trust self-signed certificate by default. As a result, SSL would be failed.
You have to tell Python to use Proxyman Root Certificate at
~/.proxyman/proxyman-ca.pem(I assume that you've installed and trust the Certificate, if not please follow Certificate Menu -> Install Certificate on This Mac).Here is some solutions, which I found in StackOverflow:
macos python trust self signed certificatePlease try one of them and I believe that it would fix your problem 👍
@Drovosek01 commented on GitHub (Aug 1, 2021):
Thank you very much, I managed to fix the error with Python only on the third attempt, when I saved this in bash_profile
It seems to me that it will be useful to add this information to the Proxyman documentation and to the menu items, where the "Install Certificate on" items are..."
@NghiaTranUIT commented on GitHub (Aug 2, 2021):
Glad to know that it works 😄
It makes sense to add this document to the Certificate Menu. I'm going to implement it now 👍
@NghiaTranUIT commented on GitHub (Aug 3, 2021):
Done 🎉 Beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.30.0_Update_Certificate_guideline_for_ruby_and_python.dmg
@Drovosek01 commented on GitHub (Aug 4, 2021):
But now, after I executed the above commands in the terminal, the python script without Proxyman stopped working for me.
That is, when Proxyman is running, the Python script runs without errors.
If I close Proxyman, and then run the Python script again, the following errors appear:
I managed to fix them when I commented out the last line in the file ."bash_profile"
Please add this information to the documentation.
@NghiaTranUIT commented on GitHub (Aug 4, 2021):
Thanks for your insight @Drovosek01 I will add to the Doc 👍
@NghiaTranUIT commented on GitHub (Sep 26, 2024):
FYI: We can capture all HTTPS Traffic from Python with the Auto Setup (https://docs.proxyman.io/debug-devices/python)
No need to config the Proxy or manually trust the self-signed certificate on your Python code 👍