Closed TwoUnderscorez closed 2 months ago
Had to rm -rf ~/.proxy
.
Had to
rm -rf ~/.proxy
.
Makes sense, certificates are cached under proxy.py data directory which defaults to ~/.proxy
PS: I forgot to post this comment last night, however now it doesn't matter, glad that you figured it out :)
I followed the instructions here https://github.com/abhinavsingh/proxy.py?tab=readme-ov-file#tls-interception and tried URLs from your logs. Unsure why am I unable to reproduce this issue at my end.
╰─ curl -v -x localhost:8899 --cacert ca-cert.pem http://incoming.telemetry.mozilla.org/ ─╯
* Trying 127.0.0.1:8899...
* Connected to localhost (127.0.0.1) port 8899 (#0)
> GET http://incoming.telemetry.mozilla.org/ HTTP/1.1
> Host: incoming.telemetry.mozilla.org
> User-Agent: curl/8.1.2
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 OK
< Server: openresty
< Date: Fri, 12 Apr 2024 16:06:05 GMT
< Content-Type: text/plain
< Content-Length: 0
< Strict-Transport-Security: max-age=31536000
< X-Frame-Options: DENY
< Access-Control-Allow-Methods: GET, POST, PUT, OPTIONS
< Access-Control-Max-Age: 1728000
< Access-Control-Allow-Headers: Accept-Encoding,Connection,Content-Encoding,Content-Length,Content-Type,DNT,Date,Sec-Fetch-Dest,Sec-Fetch-Mode,Sec-Fetch-Site,User-Agent,X-Client-Type,X-Client-Version,X-Debug-ID,X-Forwarded-For,X-Pingsender-Version,X-Pipeline-Proxy,X-Source-Tags,X-Telemetry-Agent
< Via: 1.1 google
<
* Connection #0 to host localhost left intact
*
and
╰─ curl -v -x localhost:8899 --cacert ca-cert.pem http://detectportal.firefox.com/canonical.html ─╯
* Trying 127.0.0.1:8899...
* Connected to localhost (127.0.0.1) port 8899 (#0)
> GET http://detectportal.firefox.com/canonical.html HTTP/1.1
> Host: detectportal.firefox.com
> User-Agent: curl/8.1.2
> Accept: */*
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 OK
< Server: nginx
< Content-Length: 90
< Via: 1.1 google
< Date: Thu, 11 Apr 2024 23:10:31 GMT
< Age: 61067
< Content-Type: text/html
< Cache-Control: public,must-revalidate,max-age=0,s-maxage=3600
<
* Connection #0 to host localhost left intact
<meta http-equiv="refresh" content="0;url=https://support.mozilla.org/kb/captive-portal"/>%
Check FAQs Please check Frequently Asked Questions before opening a bug report. - Checked, not working.
Describe the bug Getting SSL key values mismatch.
To Reproduce Steps to reproduce the behavior:
python -m proxy --ca-key-file ca-key.pem --ca-cert-file ca-cert.pem --hostname 192.168.50.118 --ca-signing-key-file ca-signing-key.pem
and get errorpython -m proxy --ca-key-file burp_key.pem --ca-cert-file burp_cacert.pem --hostname 192.168.50.118 --ca-signing-key-file burp_key.pem
Expected behavior No crash.
Version information
Additional context I'm running from source after
git checkout v2.4.3
in an attempt to develop a plugin. The keys do in fact match:I am not sure what the signing key is for
Thanks!