[Tutor] SSL Suggestions
kent37 at tds.net
Tue Nov 9 18:55:48 CET 2004
If you need to talk to a web server using HTTPS, I think the urllib
module supports HTTPS directly. Try something like
data = urllib.urlopen('https://myserver.com/myresource').read()
If you need a socket-level interface, look at the sockets module, it has
an ssl() function that creates an SSL connection.
> I'm working on a C++ project and we got a curve ball
> the other day. They what to extend the project by
> allowing it to except a data feed from a secure
> server. We were able to connect and get data using
> Perl. We would like to use imbedded Python instead.
> I'm new to Python with no experience in SSL.
> I did look at the python.org to see what classes
> where available, but my inexperience didn't help
> understand how to use the documentation offered. And
> I looked at the Python Cryptography mailing list, I
> didn't find much to jump start me.
> Any suggestions on where to start. Thanks in
> advance for considering my question.
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> Tutor maillist - Tutor at python.org
More information about the Tutor