Closed pmav99 closed 7 years ago
I am confused in the other direction: about why it works without error on Python 3.4, since unknown ca
seems a very reasonable response from the client since it indeed has no way to recognize the CA as a valid one. To get the client to accept the server's certificate, you need to provide the CA as the client's base trusted authority — try this and see how it behaves under Python 3.6 on your system:
$ python2.7 safe_tls.py -a ca.crt localhost 8000
Connected to host 'localhost' and port 8000
'Simple is better than complex.'
Let me know what it does, and good luck!
[root@cacti geo_env]# /usr/local/python3/bin/python3.6 safe_tls.py -a ca.crt localhost 1060 Connected to host 'localhost' and port 1060 b'Simple is better than complex.'
It worked — wonderful! Are there any further issues we should resolve before closing this issue, do you think?
I'm ok with this chapter, you can close it. Thank you.
The server:
The client:
At the same time, using python3.4 works just fine
I guess that this is normal behavior and that the fix is to regenerate the certificates.