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 yan12125
Recipients Jonathan Kamens, paul.moore, steve.dower, tim.golden, yan12125, zach.ware
Date 2016-03-11.09:23:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The same issue is reported at, too. Empty Windows cert store is uncommon. The only case I found so far is on Wine. Steps to reproduce:

1. On Arch Linux x86_64, install mingw-w64-python2-bin from AUR
2. Run the following command:
$ WINEDEBUG=fixme-all PYTHONPATH=/usr/x86_64-w64-mingw32/lib/python27 wine /usr/x86_64-w64-mingw32/bin/python2.exe -c 'import ssl; ssl.create_default_context()' 
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "Z:\usr\x86_64-w64-mingw32\lib\python27\", line 440, in create_default_context
  File "Z:\usr\x86_64-w64-mingw32\lib\python27\", line 391, in load_default_certs
    self._load_windows_store_certs(storename, purpose)
  File "Z:\usr\x86_64-w64-mingw32\lib\python27\", line 383, in _load_windows_store_certs
ValueError: Empty certificate data
Date User Action Args
2016-03-11 09:23:29yan12125setrecipients: + yan12125, paul.moore, tim.golden, zach.ware, steve.dower, Jonathan Kamens
2016-03-11 09:23:29yan12125setmessageid: <>
2016-03-11 09:23:29yan12125linkissue26313 messages
2016-03-11 09:23:28yan12125create