I'm trying to access SSL-protected site with invalid certificate (unknown issuer). I followed instructions and configured Firefox
FirefoxProfile profile = new FirefoxProfile(); profile.setAcceptUntrustedCertificates(true); profile.setAssumeUntrustedCertificateIssuer(true); EventFiringWebDriver driver = new EventFiringWebDriver(new FirefoxDriver(profile));
But I keep getting
An error occurred during a connection to somedomain.com. SSL peer was unable to negotiate an acceptable set of security parameters. Error code: SSL_ERROR_HANDSHAKE_FAILURE_ALERT
- The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
I'm using FirefoxWebDriver 2.48.2 with Firefox 45.
What I am doing wrong?