Closed BeyondEvil closed 3 years ago
This should be fixed by urllib3 version 1.25 (not released yet)
@BeyondEvil Can this be closed given the latest release of urllib3?
@BeyondEvil Can this be closed given the latest release of urllib3?
Unfortunately I'm without the means to test this currently, but if you think the issue is solved feel free to close it. :) @Dude-X
With the latest version of urllib3 (>= 1.25) the certification is now required:
New in version 1.25
HTTPS connections are now verified by default (cert_reqs = 'CERT_REQUIRED').
Instead of a warning a SSL error is raised
(Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),))
I believe this has now been fixed
🐛 Bug Report
InsecureRequestWarning is issued even when the Remote end has valid SSL.
To Reproduce
Run a test against a Remote endpoint that has valid SSL.
Expected behavior
Test runs without any warnings.
Test script or set of commands reproducing this issue
Test script here
Environment
OS: OSX 10.12.6 (also happens on core OS so it's unlikely a OS issue) Browser: Firefox (also happens with IE, again, unlikely this is a browser issue) Browser version: 64 Browser Driver version: GeckoDriver 0.23 Language Bindings version: 3.141.0 Selenium Grid version (if applicable): 3.14.0
I ran the script in a virtual env and the warning is repeated for every wire-call.
Virtual env contents and python version:
SSL report