This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients christian.heimes, pervlad, vstinner
Date 2019-01-07.14:49:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546872544.79.0.870696325581.issue35665@roundup.psfhosted.org>
In-reply-to
Content
> self.load_verify_locations(cadata=certs)
> ...
> ssl.SSLError: nested asn1 error (_ssl.c:3926)

It seems like one of your certificate is invalid.

> In Python 3.6.4 same function call raises no error.

We frequently update OpenSSL in Python. You can get OpenSSL version using:

$ python3
Python 3.7.2 (default, Jan  3 2019, 09:14:01) 
>>> import ssl
>>> ssl.OPENSSL_VERSION
'OpenSSL 1.1.1 FIPS  11 Sep 2018'
>>> ssl.OPENSSL_VERSION_INFO
(1, 1, 1, 0, 15)
>>> ssl.OPENSSL_VERSION_NUMBER
269488143
>>> hex(ssl.OPENSSL_VERSION_NUMBER)
'0x1010100f'
History
Date User Action Args
2019-01-07 14:49:05vstinnersetrecipients: + vstinner, christian.heimes, pervlad
2019-01-07 14:49:04vstinnersetmessageid: <1546872544.79.0.870696325581.issue35665@roundup.psfhosted.org>
2019-01-07 14:49:04vstinnerlinkissue35665 messages
2019-01-07 14:49:04vstinnercreate