Issue with ssl.wrap_socket()
-
Last line of following code returns OSError: -8576. What does it mean? Is something wrong with the certificate file?
import socket import ssl sock = socket.socket() ssock = ssl.wrap_socket(sock, cert_reqs=ssl.CERT_REQUIRED, ca_certs='/flash/cert/ca.pem')