profile=webdriver.FirefoxProfile()

profile.accept_untrusted_certs=True

driver=webdriver.Firefox(profile=profile)

driver.get(u"https://cacert.org/")