From: Christopher K. <ku...@rv...> - 2007-01-29 09:35:10
|
Hi, I'm currently fiddling around with extending certificates with a custom X509 extension (identified by OID), but can't seem to get it working. When using an OID for the first method argument to crypto.X509Extension, the error message is "ValueError: Unknown extension name". Using a known extension name or OID (from objects.h), the error message changes to "ValueError: Unknown extension". >From looking into the source code to src/crypto/x509ext.c, it seems that the second error message is triggered by the extension not having any methods (?). Could somebody point me to more literature regarding X509 extensions in pyOpenSSL and/or provide some working examples for this? Thanks a lot, --ck |