[issue36866] Certificate verification errors in urllib.request become URLError

2021-04-17 Thread Christian Heimes
Change by Christian Heimes : -- assignee: christian.heimes -> components: -SSL nosy: -christian.heimes versions: +Python 3.10 -Python 3.7 ___ Python tracker ___

[issue36866] Certificate verification errors in urllib.request become URLError

2019-05-11 Thread Christian Heimes
Christian Heimes added the comment: Update: 3.6 and earlier raised SSLError for untrusted or expired certs. Only hostname mismatch was not wrapped into URLError. -- ___ Python tracker __

[issue36866] Certificate verification errors in urllib.request become URLError

2019-05-11 Thread Christian Heimes
Christian Heimes added the comment: Starting with 3.7, all OpenSSL and certificate-related exceptions are derived from SSLError. SSLError is a subclass of OSError. For backwards compatibility, SSLCertVerificationError is both a subclass of SSLError and ValueError. >>> ssl.CertificateError >

[issue36866] Certificate verification errors in urllib.request become URLError

2019-05-09 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue36866] Certificate verification errors in urllib.request become URLError

2019-05-09 Thread Ned Deily
Change by Ned Deily : -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue36866] Certificate verification errors in urllib.request become URLError

2019-05-09 Thread Matt Martz
New submission from Matt Martz : The behavior of how SSL certificate validation is handled was changed in https://bugs.python.org/issue31399 This introduced a new exception, ssl.SSLCertVerificationError, which is raised for any certificate validation error, instead of the previous exception