-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Labels
A-needs investigationTLC needs to do discoveryTLC needs to do discoveryC-pyPython BindingsPython Bindings
Description
There's an issue with the WebDriver over SSL connections on Python 2.7.9 and selenium (2.45.0).
The host name is converted to an IP address in the init method of RemoteConnection and this causes this error (has actual values stripped out).
"CertificateError: hostname '[IP_ADDRESS]' doesn't match either of '*.[HOSTNAME].com', '[HOSTNAME].com'"
Full trace in this gist.
Starting with Python 2.7.9 SSL connections have certificate validation on by default and will fail if the host names do not match.
For more information see....
https://www.python.org/dev/peps/pep-0476/
https://www.python.org/dev/peps/pep-0466/
Metadata
Metadata
Assignees
Labels
A-needs investigationTLC needs to do discoveryTLC needs to do discoveryC-pyPython BindingsPython Bindings