[gnutls-devel] certtool bug: key_purpose_oids ignored when generating CSR
nmav at gnutls.org
Thu May 2 19:59:31 CEST 2013
On Mon, Apr 29, 2013 at 5:59 PM, Harry Mason <harry.mason at smoothwall.net> wrote:
> I'm using certtool to generate a certificate for EAP authentication. I
> was trying to use the key_purpose_oids option to add the necessary OID
> to the CSR, but the code in generate_request never checks the value of
> this option.
> If generating a certificate directly without an intermediate CSR it
> works, because generate_certificate calls get_key_purpose_set; but there
> is no corresponding function to add the OIDs to a gnutls_x509_crq_t.
Could you try with the following patch applied?
More information about the Gnutls-devel