Had same issue on Firefox 72.02 Not Chrome
Using Selenium C#
This worked for me:
if (driverName == "firefox")
{
// Initialize the Firefox driver
FirefoxOptions options = new FirefoxOptions();
options.AddAdditionalCapability("acceptInsecureCerts", true, true);
options.AddAdditionalCapability("acceptUntrustedCerts", true, true);
//options.Profile.AcceptUntrustedCertificates = true; <-- Does not work
return new FirefoxDriver(options);
}
Also had to do this on Firefox about:config
1. Type “about:config” in Firefox Search
2. Search for “security.enterprise_roots.enabled” and set value to True
3. Search for “security.ssl.enable_ocsp_stapling” and set value to False