Message 402791 - Python tracker

Message402791

Author pukkandan
Recipients MDM-1, christian.heimes, paul.moore, pukkandan, steve.dower, tim.golden, zach.ware
Date 2021-09-28.16:49:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632847768.3.0.595635165951.issue45312@roundup.psfhosted.org>
In-reply-to
Content
Also, the pictures uploaded by the OP are misleading since they are from a version of the code that was specifically intended for debugging the issue. the problem can be better seen in this comment https://github.com/yt-dlp/yt-dlp/issues/1060#issuecomment-925843378

```py
C:\Windows\system32>py
Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> len(ssl.enum_certificates('ROOT'))
68
>>> len(ssl.enum_certificates('CA'))
39
>>> ssl.create_default_context()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files\Python39\lib\ssl.py", line 750, in create_default_context
    context.load_default_certs(purpose)
  File "C:\Program Files\Python39\lib\ssl.py", line 574, in load_default_certs
    self._load_windows_store_certs(storename, purpose)
  File "C:\Program Files\Python39\lib\ssl.py", line 566, in _load_windows_store_certs
    self.load_verify_locations(cadata=certs)
ssl.SSLError: not enough data: cadata does not contain a certificate (_ssl.c:4159)
>>> exit()
```
History
Date User Action Args
2021-09-28 16:49:28pukkandansetrecipients: + pukkandan, paul.moore, christian.heimes, tim.golden, zach.ware, steve.dower, MDM-1
2021-09-28 16:49:28pukkandansetmessageid: <1632847768.3.0.595635165951.issue45312@roundup.psfhosted.org>
2021-09-28 16:49:28pukkandanlinkissue45312 messages
2021-09-28 16:49:28pukkandancreate