socket.ssl with key files?
"Martin v. Löwis"
martin at v.loewis.de
Thu Jan 19 00:30:17 EST 2006
Chris Curvey wrote:
> I see that socket.ssl takes "keyfile" and "certfile" parameters. So do
> I just take the text file that I've been given and break it into two
> files, then specify those file names when I open the connection?
This might help, or it might not. If you have a passphrase on the
private key, somehow the passphrase needs to be provided as well,
but I'm unsure how.
This code is mostly untested, so you might have to modify _ssl.c
as well to make it work.
Regards,
Martin
More information about the Python-list
mailing list