|
From: | David Engster |
Subject: | bug#19404: 25.0.50; Gnus shows self-signed certificate warning when connecting to Gmane |
Date: | Thu, 18 Dec 2014 23:47:44 +0100 |
User-agent: | Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) |
Ivan Shmakov writes: >>>>>> David Engster <deng@randomsample.de> 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. Sorry, I don't get it. Which respective public key fingerprints? There's just one certificate. -David
[Prev in Thread] | Current Thread | [Next in Thread] |