[issue36343] Certificate added to Win Store not available

Christian Herdtweck report at bugs.python.org
Tue Mar 19 04:53:13 EDT 2019


Christian Herdtweck <christian.herdtweck at intra2net.com> added the comment:

A colleage motivated me to add some example data. Attached you will find a small sample program listing the certificates and trying to connect to my machine.

Output of the program:
Text "fake" nowhere to be found :-(

Traceback (most recent call last):
  File "list_cas.py", line 88, in <module>
    sys.exit(main())
  File "list_cas.py", line 83, in main
    ssl_sock.connect((MY_SERVER, 443))
  File "C:\Program Files (x86)\Python37-32\lib\ssl.py", line 1150, in connect
    self._real_connect(addr, False)
  File "C:\Program Files (x86)\Python37-32\lib\ssl.py", line 1141, in _real_connect
    self.do_handshake()
  File "C:\Program Files (x86)\Python37-32\lib\ssl.py", line 1117, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)

----------
Added file: https://bugs.python.org/file48219/list_cas.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36343>
_______________________________________


More information about the Python-bugs-list mailing list