|
From: | David Engster |
Subject: | bug#19404: 25.0.50; Gnus shows self-signed certificate warning when connecting to Gmane |
Date: | Thu, 18 Dec 2014 22:50:22 +0100 |
User-agent: | Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |