Closed abotalov closed 11 years ago
That is because the Firefox profile set up by Selenium includes the CA by default. It's just a little thing we do to make Selenium + BMP usage super easy :)
On Jun 17, 2013, at 5:00 AM, Andrey Botalov notifications@github.com wrote:
Section SSL support of this project's README says that:
While the proxy supports SSL, it requires that a Certificate Authority be installed in to the browser. This allows the browser to trust all the SSL traffic coming from the proxy, which will be proxied using a classic man-in-the-middle technique.
However, currently I use Browsermob as a proxy to connect to HTTPS site without importing certificate to browser.
I just create new Firefox profile, set its HTTP and SSL proxy to selenium as follows:
Initialize browsermob_proxy as shown here - https://github.com/jarib/browsermob-proxy-rb/#how-to-use-with-selenium-webdriver
profile = Selenium::WebDriver::Firefox::Profile.new profile.proxy = browsermob_proxy.selenium_proxy(:http, :ssl) After that Browsermob seems to support SSL even though README says that API user should import certificate to browser.
— Reply to this email directly or view it on GitHub.
Section SSL support of this project's README says that:
However, currently I use Browsermob as a proxy to connect to HTTPS site without importing certificate to browser.
I just create new Firefox profile, set its HTTP and SSL proxy to selenium as follows:
After that Browsermob seems to support SSL even though README says that API user should import certificate to browser.