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

From: Ivan Shmakov <[email-masked]>
Date: Thu, 18 Dec 2014 22:04:53 +0000

>>>>> David Engster <[email-masked]> writes:
>>>>> 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.

	If anything, it’s the respective public key fingerprints that
	are to be compared.

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A