| || |
Error code: ssl_error_handshake_failure_alert
When i am trying to access a https://XXX.net/page1.html via firefox webdriver window i am getting this exception.
Secure Connection Failed
An error occurred during a connection to thenumberone.net.
SSL peer was unable to negotiate an acceptable set of security parameters.
(Error code: ssl_error_handshake_failure_alert)
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem. Alternatively, use the command found in the help menu to report this broken site.
But i have no problems accessing the same url via the normal firefox window.
Any idea whats going on here???
My best guess is the test profile that's being used by firefox might not have the same set of security settings or have your self signed certs your normal profile has.
you might want to create a custom firefox profile, then configure your selenium to use that profile.
Thanks dlai. Apparently when i commented out the ip to which the url was pointing on the etc/hosts file, it worked.