Le Sun, 18 Apr 2010 22:37:30 -0700, John Nagle a écrit :
The cert file is the same PEM file I use with M2Crypto, and it's derived
from Firefox's cert file.
Why am I getting a private key related error? I'm not submitting a
keyfile, just a cert file.
I'm not an expert but this is what the
Antoine Pitrou wrote:
Perhaps you are using the wrong parameters and looking for ca_certs
instead:
That's right. Thanks.
John Nagle
--
http://mail.python.org/mailman/listinfo/python-list
I'm starting to convert from M2Crypto to Python 2.6's SSL
module. So I tried a trivial test:
import ssl
import socket
certs = d:/projects/sitetruth/certificates/cacert.pem
sk = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
ssk = ssl.wrap_socket(sk, certfile=certs,