pukkandan <pukkan...@gmail.com> added the comment:
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() ``` ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45312> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com