SEC_ERROR_UNKNOWN_ISSUER | Selenium-wire Firefox

Issue

I am trying to visit a website and get the website’s network headers. However, I’m getting this error "SEC_ERROR_UNKNOWN_ISSUER"

There’s no "Accept the Risk and Continue" option. Only go back.

I’ve tried just about everything I could find about this and none of them worked.

Code:

from seleniumwire import webdriver

profile = webdriver.FirefoxProfile(r'path\to\profile')
driver = webdriver.Firefox(firefox_profile=profile)
driver.get("url")

Solution

Not sure what caused this, could be an extension or something but I just created a new Firefox profile and it worked.

Answered By – RLU

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published