|
From: Matthew R. D. s. <MKR...@lb...> - 2006-03-08 18:19:06
|
Cserna Zsolt wrote:
I would suggest looking at M2Crypto, nobody seems to be maintaining
pyOpenssl anymore.
M2Crypto allows you to create and set extensions in X509 certificates.
Matt Rodriguez
> 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: zs...@fm...
> Web: http://zsolt.cserna.hu/
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> pyopenssl-list mailing list
> pyo...@li...
> https://lists.sourceforge.net/lists/listinfo/pyopenssl-list
>
|