Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still encountering untrusted certificate warning when acceptInsecureCerts is set to true #422

Closed
pembertonrw opened this issue Jan 5, 2017 · 2 comments

Comments

@pembertonrw
Copy link

I am trying to use the new function acceptInsecureCerts but I am still getting the "Your connection is insecure" prompt. I am using the java implementation of selenium webdriver and my tests are being ran against Selenium Grid. I am sure I am doing something incorrect but I don't know what.

The code I am using to set the capabilities is

DesiredCapabilities capabilities; capabilities = DesiredCapabilities.firefox(); capabilities.setCapability("marionette", true); capabilities.setCapability("proxyType", "pac"); capabilities.setCapability("proxyAutoconfigUrl", _defaultprop.getString("proxyURL")); capabilities.setCapability("acceptInsecureCerts", true); capabilities.setCapability("browser.private.browsing.autostart", true);

Selenium Standalone version

3.0.1

Geckodriver version

v0.12.0

Firefox Version

Firefox nightly build 2017-01-05

Platform

Windows Server 2008 R2

@andreastt
Copy link
Contributor

Duplicate of #97.

You need to set the proxy capability as a required capability for the time being, until bug 1326534 lands.

@lock
Copy link

lock bot commented Aug 17, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.

@lock lock bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants