user3449081
user3449081

Reputation: 1

Certificate issue while writing script using selenium

Imported a certificate for security purpose of our website. Doing manually the page loads properly but using script throwing an error ![enter image description here][1]

An error occur during connection to URL(required website) SSL peers cannot verify your certificate. Error Code (ssl_error_bad_cert_alert)

Thanks a lot for any kind of help.

Upvotes: 0

Views: 136

Answers (1)

Manuel Spezzani
Manuel Spezzani

Reputation: 1041

Maybe it is a self-signed certificate? Have a look at this question, basically they are suggesting to use a -trustAllSSLCertificates switch.

Selenium Testing HTTPs Trust All certificates working for FF but not IE switch

Upvotes: 1

Related Questions