[prev in list] [next in list] [prev in thread] [next in thread]
List: python-list
Subject: Re: OpenSSL in Python
From: Juho Schultz <juho.schultz () helsinki ! fi>
Date: 2005-11-01 11:13:17
Message-ID: dk7ikb$8rf$1 () oravannahka ! helsinki ! fi
[Download RAW message or body]
dcrespo wrote:
> Hi to all,
>
> What do I have to install to get the following code work (Win XP,
> Python 2.4.2)
>
>
> from OpenSSL import SSL
> import config
>
> KEY_FILE = config.SSL_KEY_FILE
> CERT_FILE = config.SSL_CERT_FILE
>
>
> ----------------------------------
>
> I've been looking for OpenSSL for python. I found pyOpenSSL, but it
> requires the OpenSSL library, which I only found on
> http://www.openssl.org/, but don't know how to install.
>
Open source is very often distributed as source tarballs that contain
installation instructions. So:
Download archive - extract - read files named INSTALL, README, ...
Repeating the advice you have from some other posters:
You have to install both OpenSSL (the library) and
pyOpenSSL (so python can use the library).
> Other thing is the "config" module... I'm lost. Someone knows? :-S
>
I'd guess "config" is local module related to your system setup.
Nothing with that name comes with Python or pyOpenSSL.
> My main purpose is to enable xml-rpc server over an SSL connection.
>
After installing pyOpenSSL have a look at
pyOpenSSL-0.6/examples/SecureXMLRPCServer.py
> Thanks
>
> Daniel
>
I hope this helped a bit.
--
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic