[pyOpenSSL] pyopenssl segfault

Cserna Zsolt zsolt at fmt.vein.hu
Wed Mar 8 18:11:39 CET 2006


Hi,

I would like to generate a "CA" certificate, so I need to set the basic
constraints extension to "CA:TRUE". I know it is not requied for CA
certificates but it is a recommendation.

I try to set the extensions by this code:

from OpenSSL import crypto
crypto.X509Extension("basicConstraints", True, "CA:TRUE")

But I get Segmentation fault as result.

pyopenssl: 0.6
openssl: 0.9.7a

I get the same result with openssl 0.9.8a so I think it is not an openssl
bug.

Regards,
Zsolt
--
E-mail: zsolt at fmt.vein.hu
Web:    http://zsolt.cserna.hu/




More information about the pyopenssl-users mailing list