On Mon, Sep 08, 2008, Silviu VLASCEANU wrote:

> Hi,
> 
> Sorry to bother again, but I still haven't found how to add the Authority
> Key ID to a certificate, using openssl.
> Please, I need some help with this. The details are below.
> 

Two ways, one is manually the other using the extension configuration code.

Manually you get SKID which is an ASN1_OCTETSTRING using X509_get_ext_d2i().
Then you create an AUTHORITY_KEYID structure with AUTHORITY_KEYID_new(), set
the keyid pointer from the return value above and finally add it to the other
certificate using X509_add1_ext_i2d().

The other way is outlined in doc/openssl.txt

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to