abhinavsingh / proxy.py

💫 Ngrok FRP Alternative • ⚡ Fast • 🪶 Lightweight • 0️⃣ Dependency • 🔌 Pluggable • 😈 TLS interception • 🔒 DNS-over-HTTPS • 🔥 Poor Man's VPN • ⏪ Reverse & ⏩ Forward • 👮🏿 "Proxy Server" framework • 🌐 "Web Server" framework • ➵ ➶ ➷ ➠ "PubSub" framework • 👷 "Work" acceptor & executor framework
https://abhinavsingh.com/proxy-py-a-lightweight-single-file-http-proxy-server-in-python/
BSD 3-Clause "New" or "Revised" License
2.91k stars 568 forks source link

Generate root CA certificates for Windows #1369

Closed Stepman123 closed 3 months ago

Stepman123 commented 3 months ago

Here https://pypi.org/project/proxy.py/#tls-interception says By default, proxy.py will not decrypt https traffic between client and server. To enable TLS interception first generate root CA certificates: make ca-certificates

But I get an error. Python 3.9

bug-proxy

abhinavsingh commented 3 months ago

What command did you use to generate the certificate? Can you please paste the full command.

Stepman123 commented 3 months ago

What command did you use to generate the certificate? Can you please paste the full command.

proxy --make ca-certificates (this is in the screenshot) and also this one: proxy make ca-certificates

Stepman123 commented 3 months ago

make

translate: "make" is not internal or external command, executable program, or batch file.

abhinavsingh commented 3 months ago

Indeed, python make is not a valid command and yes, you will need make installed on Windows to make this work. Once installed, you can execute these commands as done by our Windows workflows too

https://github.com/abhinavsingh/proxy.py/blob/develop/.github/workflows/test-library.yml#L737-L739

Feel free to re-open iff issue still persists. Thank you

Stepman123 commented 3 months ago

you will need make installed on Windows to make this work.

Which make is required? I installed "pip install make" but I don't know how to run it. It seems this is not what is needed. Then I installed make using chocolatey "choco install make" but: make cert