[BUG] remote error: tls: unknown certificate
F4biCrafterDomains opened this issue · comments
Describe the bug
Can't open HTTPS pages over proxy.
remote error: tls: unknown certificate
To Reproduce
Start mubeng proxy and see
Environment
- OS: Ubuntu Linux 20.04
- Latest mubeng version
@dwisiswant0 i have this issue to says not secure?
It's still under investigation, @Jreverse.
+1 waiting for resolution @dwisiswant0
I'm facing this issue to. I'm not sure its because of mubeng though.
I'm using mubeng as a load balancer to my vpns running in docker containers which each of them has goproxy running. mubeng job is to switch between them.
If I directly point the http_proxy
to the vpn container running goproxy Its works with https urls but pointing it to the mubeng container I get:
WARN: Cannot handshake client www.gbook.ir:443 local error: tls: bad record MAC
https_proxy=balancer:80 curl https://example.com
doesnt work
https_proxy=vpn_1:80 curl https://example.com
works
http_proxy=balancer:80 curl http://example.com
works
my proxies file is:
http://vpn_1:80
It doesn't matter what example site is. If it uses https mubeng throws error but it works on http.
It seems related to https://github.com/kitabisa/mubeng/blob/master/internal/server/handler.go#L121 MitmConnect
same issue.
Hi guys, the patch version for this just rolled out at v0.9.1! Bump yours with mubeng -u
. 🎉
Make sure you have the certificate installed in your browser.