Handling UntrustedSSLcertificates using WebDriver
//Firefox example with URL www.google.com FirefoxProfile profile=new FirefoxProfile(); profile.setAssumeUntrustedCertificateIssuer(false); driver=new FireforDriver(profile); driver.get(“https://google.com”);