abec 42a279f3d0 HUE-902 [core] Include pyOpenSSL 0.13 version 13 年之前
..
simple 42a279f3d0 HUE-902 [core] Include pyOpenSSL 0.13 version 13 年之前
sni 42a279f3d0 HUE-902 [core] Include pyOpenSSL 0.13 version 13 年之前
README 42a279f3d0 HUE-902 [core] Include pyOpenSSL 0.13 version 13 年之前
SecureXMLRPCServer.py 42a279f3d0 HUE-902 [core] Include pyOpenSSL 0.13 version 13 年之前
certgen.py 42a279f3d0 HUE-902 [core] Include pyOpenSSL 0.13 version 13 年之前
mk_simple_certs.py 42a279f3d0 HUE-902 [core] Include pyOpenSSL 0.13 version 13 年之前
proxy.py 42a279f3d0 HUE-902 [core] Include pyOpenSSL 0.13 version 13 年之前

README

I've finally gotten around to writing some examples :-)

They aren't many, but at least it's something. If you write any, feel free to
send them to me and I will add themn.


certgen.py - Certificate generation module
==========================================

Example module with three functions:
createKeyPair - Create a public/private key pair
createCertRequest - Create a certificate request
createCertificate - Create a certificate given a cert request
In fact, I created the certificates and keys in the 'simple' directory with
the script mk_simple_certs.py


simple - Simple client/server example
=====================================

Start the server with
python server.py PORT
and start clients with
python client.py HOST PORT

The server is a simple echo server, anything a client sends, it sends back.


proxy.py - Example of an SSL-enabled proxy
==========================================

The proxy example demonstrate how to use set_connect_state to start
talking SSL over an already connected socket.

Usage: python proxy.py server[:port] proxy[:port]

Contributed by Mihai Ibanescu


SecureXMLRPCServer.py - SSL-enabled version of SimpleXMLRPCServer
=================================================================

This acts exactly like SimpleXMLRPCServer from the standard python library,
but uses secure connections. The technique and classes should work for any
SocketServer style server. However, the code has not been extensively tested.

Contributed by Michal Wallace