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.
Thank you in advance, -- Silviu 2008/9/3 Silviu VLASCEANU <[EMAIL PROTECTED]> > Hello everybody, > > I need to copy the Subject Key ID (SKID) from the CA certificate to the > Authority Key ID (AKID) of a new certificate. > I have extracted the SKID with > > AUTHORITY_KEYID *akid = X509_get_ext_d2i(ca_cert, > NID_subject_key_identifier, NULL, NULL); > > How can I "put" akid in an X509_EXTENSION so that I can add the latter to > a new certificate with X509_add_ext(x, ex_akid, -1) ? > > Thanks a lot, > > -- > Silviu >