Open Mohxin opened 8 years ago
i got some proxy (for example could not authorize)
Could you explain this? What did you see? Can you show a screenshot or copy the text here?
DO you know how to solve the certificate problem while accessing the local intranet?
What makes you think there is a certificate problem?
Please find the attached files.
I have attached the screenshot of Exception , Har file and CreateProxy method configuration
{"log":{"version":"1.2","creator":{"name":"BrowserMob Proxy","version":"2.1.2","comment":""},"pages":[{"id":"myExample","startedDateTime":"2016-11-18T11:10:42.171+01:00","title":"myExample","pageTimings":{"comment":""},"comment":""}],"entries":[],"comment":""}}
Where you edited the createProxy()
method, I think you still need to use a MITM manager if you are capturing HTTPS traffic, and also you have to set the upstream proxy if you need to go through a corporate proxy.
That is, retain the bmp.setMitmManager(createMitmManager(bmp))
call, and after you create your custom upstreamProxyAddress
instance, make sure to set it:
bmp.setChainedProxy(upstreamProxyAddress);
bmp.chainedProxyAuthorization("user", "password", AuthType.BASIC);
Hi, when i use to code to bypass the cooporate proxy and access the local intranet i got some proxy (for example could not authorize), but it works fine to access the internet e.g cnn.com , yahoo.com.
DO you know how to solve the certificate problem while accessing the local intranet?