Christian Herdtweck <[email protected]> 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 <[email protected]>
<https://bugs.python.org/issue36343>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com