RFC - support for subjectUniqueID and issuerUniqueID

Nikos Mavrogiannopoulos nmav at gnutls.org
Tue Aug 17 20:22:50 CEST 2010

On 08/10/2010 08:30 AM, Brad Hards wrote:
> Hi,
> During investigation into some windows protocols, we've found that windows 
> servers create certificates that make use of the subjectUniqueID and 
> issuerUniqueID fields. They seem to contain GUID values.
> The attached patch (which I'm looking for feedback on, not to be applied at 
> this stage) allows fetching / display of those fields. I have a second patch 
> for setting / writing those fields, but I haven't tested it yet. A sample 
> certificate is also attached.
> I recognise that they aren't normally used (and are deprecated), but for 
> interop purposes, I'd like to be able to access them if necessary.
> Thoughts and comments?

They look useful and anyway they should be added for completeness. As of
the implementation, I'd prefer a version that doesn't return an
allocated string but rather something that writes a user buffer such as
gnutls_x509_crt_get_dn() does. If you have such a version we could add it.


More information about the Gnutls-devel mailing list