[pyOpenSSL] CA signing question

Tribaal tribaal at gmail.com
Tue Nov 20 17:12:25 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi List

I'm trying to use your pyOpenSSL python wrapper to sign a .csr with a CA
cerificate, however I don't understand how your code works (most
domcumentation seems to be written with a client-server perspective of
ecrypting communication).

I could find the
> static PyObject *
> crypto_X509_sign(crypto_X509Obj *self, PyObject *args)
function (which seems to be what I'm looking for), but I do not
understand how to instantiate an X509 object - the
load_certificate(type, buffer) method seems to be relevant, but I fail
to supply it with the correct arguments...

Could you please give me a quick pointer? I'll try to gather my
experience in a python script and will send it back to you to use it as
an example in case somebody else needs to sign a certificate with a CA.

Thank you very much for your help - I really appreciate it.

- - Trib'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHQwdpND4mi+cKVzQRAoSZAJ9c9u4TYxh0ZsA40o597DkNMkcZ6wCgjSEB
hr3qbxi0rDF8qghqfj/j+h8=
=Qfk0
-----END PGP SIGNATURE-----




More information about the pyopenssl-users mailing list