From: Julien Danjou <julien@danjou.info>
To: emacs-devel@gnu.org
Subject: GnuTLS and certificate verification
Date: Thu, 06 Sep 2012 00:13:06 +0200 [thread overview]
Message-ID: <87sjaw2k5p.fsf@dex.adm.naquadah.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 893 bytes --]
Hi,
I'd like gnutls to check that the server I connect to are trusted. Using
Gnus and smtpmail, currently, the check is disable because
the argument :verify-hostname-error to `gnutls-negotiate' is always nil.
It seems nothing uses it for now.
I wonder if adding a global defcustom would be helpful here. WDYT?
OTOH, I've tried to set it manually to t, and I added my CA to the know
certificates. gnutls-bin is now happy to connect to my IMAP server and
considers it secure ("Peer's certificate is trusted"). But with
gnutls.c, I keep hitting:
if (peer_verification & GNUTLS_CERT_SIGNER_NOT_FOUND)
GNUTLS_LOG2 (1, max_log_level, "certificate signer was not found:",
c_hostname);
Note that the trustfile used seems correct too.
If anybody has a clue, I'd be glad…
--
Julien Danjou
/* Free Software hacker & freelance
http://julien.danjou.info */
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
next reply other threads:[~2012-09-05 22:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-05 22:13 Julien Danjou [this message]
2012-12-21 17:17 ` GnuTLS and certificate verification Ted Zlatanov
2012-12-22 14:49 ` Julien Danjou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sjaw2k5p.fsf@dex.adm.naquadah.org \
--to=julien@danjou.info \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.