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 christian-intra2net
Recipients christian-intra2net, christian.heimes
Date 2019-03-19.08:53:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552985593.25.0.663385012035.issue36343@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2019-03-19 08:53:13christian-intra2netsetrecipients: + christian-intra2net, christian.heimes
2019-03-19 08:53:13christian-intra2netsetmessageid: <1552985593.25.0.663385012035.issue36343@roundup.psfhosted.org>
2019-03-19 08:53:13christian-intra2netlinkissue36343 messages
2019-03-19 08:53:13christian-intra2netcreate