Subject: bug#19404: 25.0.50; Gnus shows self-signed certificate warning when connecting to Gmane

From: David Engster <[email-masked]>
Date: Thu, 18 Dec 2014 22:50:22 +0100

David Engster writes:
> It *could* be self-signed. I don't know the best way in libgnutls to
> detect this. You probably have to compare issuer and subject, or
> similar.

So my guess would be: use gnutls_x509_crt_get_dn2 or maybe
gnutls_x509_crt_get_subject and compare to
gnutls_certificate_get_issuer. If equal -> self-signed. But that could
be wrong. Best place is to ask on the GnuTLS list.

-David