[pyOpenSSL] setting the key password
Jos Vos
jos at xos.nl
Mon Dec 20 16:23:11 CET 2004
On Mon, Dec 20, 2004 at 03:05:43PM +0100, Niklas Saers wrote:
> I'm using SecureXMLRPCServer to do my XMLRPC communication via SSL. For
> this I have a server.pkey and a server.cert, and when running the
> application I get: "Enter PEM pass phrase:" I want this to be a daemon
> that runs on a server and starts thus I would like to set the password
> without keyboard interaction. I've been unsuccessful at piping the
> password in, and I was wondering if I could set a variable or if there
> are other options available to me?
You have to change the private key part for that, as follows:
openssl rsa -in server.pkey -out server2.pkey
And then use server2.pkey i.s.o. server.pkey from now on.
--
-- Jos Vos <jos at xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
More information about the pyopenssl-users
mailing list