{"action":"created","issue":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3441","repository_url":"https://api.github.com/repos/SeleniumHQ/selenium","labels_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3441/labels{/name}","comments_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3441/comments","events_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3441/events","html_url":"https://github.com/SeleniumHQ/selenium/issues/3441","id":204561810,"number":3441,"title":"error SSL_ERROR_BAD_CERT_DOMAIN when using FF51.x and new geckodriver","user":{"login":"shadowDim","id":25456092,"avatar_url":"https://avatars.githubusercontent.com/u/25456092?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowDim","html_url":"https://github.com/shadowDim","followers_url":"https://api.github.com/users/shadowDim/followers","following_url":"https://api.github.com/users/shadowDim/following{/other_user}","gists_url":"https://api.github.com/users/shadowDim/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowDim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowDim/subscriptions","organizations_url":"https://api.github.com/users/shadowDim/orgs","repos_url":"https://api.github.com/users/shadowDim/repos","events_url":"https://api.github.com/users/shadowDim/events{/privacy}","received_events_url":"https://api.github.com/users/shadowDim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-02-01T11:42:15Z","updated_at":"2017-02-03T18:19:44Z","closed_at":null,"body":"## Meta -\r\nOS:  Win8 x64\r\n<!-- Windows 10? OSX? -->\r\nSelenium Version:  python +Selenium WebDriver + geckodriver 3.0\r\n<!-- 2.52.0, IDE, etc -->\r\nBrowser:  Firefox \r\n<!-- Internet Explorer?  Firefox?\r\n\r\nSince Firefox version 48, Mozilla requires all add-ons to be signed. Until\r\nrecently, Firefox support in Selenium was exclusively provided by an add-on.\r\nAs this add-on is not currently signed, this solution does not work with the\r\nlatest Firefox releases. As an alternative, Mozilla are working on a WebDriver\r\nspecification compliant implementation named GeckoDriver. Please note that the specification is not complete, and that Selenium itself does not comply with\r\nthe specification at this time. This means that features previously available\r\nthrough Selenium will not be available using GeckoDriver.\r\n\r\nAny issue logged here for Firefox 48 or later will be closed as a duplicate of\r\n#2559. Our recommendation is to switch to GeckoDriver, or to continue testing\r\non Firefox 45 until GeckoDriver is a viable option for you. If you are\r\ninterested in helping us to sign the add-on to restore support for later\r\nFirefox versions, please see the following comment for what's needed:\r\nhttps://github.com/SeleniumHQ/selenium/issues/2942#issuecomment-259717567\r\n\r\nIf the issue is with Google Chrome consider logging an issue with chromedriver instead:\r\nhttps://sites.google.com/a/chromium.org/chromedriver/help\r\n\r\nIf the issue is with Microsoft Edge consider logging an issue with Microsoft instead:\r\nhttps://developer.microsoft.com/en-us/microsoft-edge/platform/issues/\r\n\r\nIf the issue is with Firefox GeckoDriver (aka Marionette) consider logging an issue with Mozilla:\r\nhttps://bugzilla.mozilla.org/buglist.cgi?product=Testing&component=Marionette\r\n\r\nIf the issue is with Safari, only Safari 10+ is supported. Please log any Safari issue with Apple:\r\nhttps://bugreport.apple.com/\r\n\r\nIf the issue is with PhantomJS consider logging an issue with Ghostdriver:\r\nhttps://github.com/detro/ghostdriver\r\n\r\n-->\r\n\r\nBrowser Version:  51.1.x\r\n<!-- e.g.: 49.0.2623.87 (64-bit) -->\r\n\r\n## Expected Behavior - I get some problem when I used new geckodriver with Python 3.5.2\r\n\r\nwith old driver I used our test server (with bad sertificate and I added it to the exceptions)\r\n\r\nI used FF 47.0.1 with old driver on my job and all work well\r\n\r\n`def setUp(self):\r\n        self.driver = webdriver.Firefox()\r\n        self.driver.implicitly_wait(50)\r\n        self.base_url = \"https://.......\"\r\n        self.verificationErrors = []\r\n        self.accept_next_alert = True\r\n    \r\n    def test_1(self):\r\n        driver = self.driver\r\n        driver.get(self.base_url + \"/.........\")`\r\n\r\n## Actual Behavior -\r\nI get an error \r\n`File \"D:\\Python\\python3x\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\", line 248, in get self.execute(Command.GET, {'url': url})\r\n  File \"D:\\Python\\python3x\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\", line 236, in execute self.error_handler.check_response(response)\r\n  File \"D:\\Python\\python3x\\lib\\site-packages\\selenium\\webdriver\\remote\\errorhandler.py\", line 192, in check_response raise exception_class(message, screen, stacktrace)\r\nselenium.common.exceptions.WebDriverException: Message: Reached error page: about:certerror?e=nssBadCert&u=https%3A//\r\n.........\r\nSSL_ERROR_BAD_CERT_DOMAIN%22%3ESSL_ERROR_BAD_CERT_DOMAIN%3C/a%3E%0A`\r\n\r\n\r\n## Steps to reproduce -\r\n<!--\r\nPlease be sure to include an SSCCE (Short, Self Contained, Correct [compilable] example) http://sscce.org/\r\nIf you can't provide a link to the page, consider creating a reproducible page on https://jsfiddle.net/\r\n-->\r\n\r\nwhen I using Chrome with ChromeDriver or old driver (2.3) with FF 47.0.1 all work well"},"comment":{"url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/comments/277321946","html_url":"https://github.com/SeleniumHQ/selenium/issues/3441#issuecomment-277321946","issue_url":"https://api.github.com/repos/SeleniumHQ/selenium/issues/3441","id":277321946,"user":{"login":"aneeshchandy","id":13005178,"avatar_url":"https://avatars.githubusercontent.com/u/13005178?v=3","gravatar_id":"","url":"https://api.github.com/users/aneeshchandy","html_url":"https://github.com/aneeshchandy","followers_url":"https://api.github.com/users/aneeshchandy/followers","following_url":"https://api.github.com/users/aneeshchandy/following{/other_user}","gists_url":"https://api.github.com/users/aneeshchandy/gists{/gist_id}","starred_url":"https://api.github.com/users/aneeshchandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneeshchandy/subscriptions","organizations_url":"https://api.github.com/users/aneeshchandy/orgs","repos_url":"https://api.github.com/users/aneeshchandy/repos","events_url":"https://api.github.com/users/aneeshchandy/events{/privacy}","received_events_url":"https://api.github.com/users/aneeshchandy/received_events","type":"User","site_admin":false},"created_at":"2017-02-03T18:19:44Z","updated_at":"2017-02-03T18:19:44Z","body":"Ok, it is a bug in FF and version 54 should fix it. This is set for a future date.\r\nIn the meantime, you can download the nightly build and test it out. Good luck!\r\n\r\n**Code (in MacOS):**\r\n```\r\nfrom selenium import webdriver\r\nfrom selenium.webdriver.common.desired_capabilities import DesiredCapabilities\r\nfrom selenium.webdriver.firefox.firefox_binary import FirefoxBinary\r\n\r\ncaps = DesiredCapabilities.FIREFOX.copy()\r\ncaps['acceptInsecureCerts'] = True\r\nff_binary = FirefoxBinary('/Applications/FirefoxNightly.app/Contents/MacOS/firefox-bin')\r\n\r\ndriver = webdriver.Firefox(firefox_binary=ff_binary, capabilities=caps)\r\n\r\ndriver.get('https://cacert.org/')\r\ndriver.close()\r\n```\r\n\r\n**Download the nightly version here:**\r\nhttps://www.mozilla.org/en-US/firefox/channel/desktop/#nightly\r\n\r\n**References:** \r\n- http://stackoverflow.com/questions/37868425/accept-ssl-cert-with-marionette-firefox-webdrive-python-splinter/41711649#41711649\r\n- https://bugzilla.mozilla.org/show_bug.cgi?id=1103196\r\n- https://www.hskupin.info/2017/01/23/using-selenium-and-webdriver-to-interact-with-insecure-ssl-pages-in-firefox/\r\n\r\n"}}
{"actor":{"display_login":"aneeshchandy"}}