I got stuck in handling UntrustedSSLcertificates using web driver in Java.
I created firefox profile like:
FirefoxProfile profile = new FirefoxProfile();
profile.setAcceptUntrustedCertificates(true);
profile.setAssumeUntrustedCertificateIssuer(false);
I created firefox profile, added overridden certificate.
This is not handling SSL certificates.
Is there any other way to handle UntrustedSSLcertificates?
//Firefox example with URL www.google.com
FirefoxProfile profile=new FirefoxProfile();
profile.setAssumeUntrustedCertificateIssuer(false);
driver=new FireforDriver(profile);
driver.get("https://google.com");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With