[gnutls-devel] certtool bug: key_purpose_oids ignored when generating CSR

Harry Mason harry.mason at smoothwall.net
Mon Apr 29 16:59:50 CEST 2013


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.

-- 
Harry Mason
Senior Developer

harry.mason at smoothwall.net

Smoothwall Ltd
1 John Charles Way, Leeds, LS12 6QA United Kingdom
Telephone:  USA: 1 800 959 3760  Europe: +44 (0) 8701 999500
www.smoothwall.net

Smoothwall Limited is registered in England, Company Number: 4298247.  This
email and any attachments transmitted with it are confidential to the
intended recipient(s) and may not be communicated to any other person or
published by any means without the permission of Smoothwall Limited.  Any
opinions stated in this message are solely those of the author.





More information about the Gnutls-devel mailing list