how to bypass certificate check on running automation script on firefox code example
Example: firefoxoptions setpreference to trust certificates
var options = new FirefoxOptions();
options.AddAdditionalCapability("acceptSslCerts", true, true);
options.AddAdditionalCapability("acceptInsecureCerts", true, true);
var driver = new FirefoxDriver(options);