SeleniumHQ/selenium-google-code-issue-archive

IEDriver does not support unsigned certificates

Opened this issue · 9 comments

Originally reported on Google Code with ID 2381

This is a continuation of Issue 116 that was for FirefoxDriver.

Currently the IEDriver doesnt handle unsigned certs.

Reported by david.burns@theautomatedtester.co.uk on 2011-08-31 14:49:40

Anyone has a valid work around until this is fix? Thanks! 

Reported by Jeroen.Horemans on 2011-09-16 13:29:11

Reported by barancev on 2011-10-13 08:39:48

  • Labels added: Component-WebDriver
Has there been an update on this defect or is there a work around?

Reported by ghomrighous on 2012-03-06 15:44:37

Issue 4402 has been merged into this issue.

Reported by a.u.savchuk on 2013-05-02 08:16:08

Issue 2687 has been merged into this issue.

Reported by a.u.savchuk on 2013-05-02 08:19:38

Issue 3767 has been merged into this issue.

Reported by a.u.savchuk on 2013-05-02 09:33:01

Found a valid work around: 

   Manually accept the cert and continue to the website. Then, click on the red shield
with the x and hit view certificates. From there, go to the certification path tab.
You will be able to see that some of the certs have x's in them; click on them and
install the cert into the Trusted Root Certification Authorities store. 

Reported by kurtwaldowski on 2013-08-07 16:41:40

The above workaround doesn't work for me because I cannot edit trusted root certificates
on my machine, and I also do not want to have to do so on every developers machine
who wants to run tests.

I've found this is a better workaround that doesn't require editing browser settings
-

driver.navigate().to("javascript:document.getElementById('overridelink').click()");

Or the more complete version -

if("Certificate Error: Navigation Blocked".equals(driver.getTitle())) {
driver.navigate().to("javascript:document.getElementById('overridelink').click()");
}

Reported by WILLGAYTHER on 2013-10-01 23:52:07

Reported by luke.semerau on 2015-09-17 17:44:25

  • Labels added: Restrict-AddIssueComment-Commit