I have some Selenium 2 Webdriver test cases for Firefox and Internet Explorer 9. When I access https URLs on IE9 (Windows 7 64bit) I get “There is a problem with this website’s security certificate”. At this point the test hangs and eventually fails. I tried:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_ERROR_PAGE_BYPASS_ZONE_CHECK_FOR_HTTPS_KB954312
that prevents the certificate-error-page from displaying – didn’t work. Probably because I’m on Windows 7 with IE9.
Finally, I don’t have admin access to my PC – e.g. no access to group policies. Selenium 2 Webdriver works fine on Firefox. I have all security zones enabled in IE Internet Options and if I run the tests on other URLs (http) then there is no problem.
Has anyone got a solution to this problem? Does anyone now hot to use browsermob proxy (or any other proxy) effectively to overcome this issue?
Thanks,
Damo
I found the answer on the SQA board:
https://sqa.stackexchange.com/questions/1928/selenium-2-webdriver-and-ie-9-security-certificate
We created a certificate and it It worked like a charm.