Variable: tls-untrusted

tls-untrusted is a customizable variable defined in tls.el.gz.

Value

"- Peer's certificate is NOT trusted\\|Verify return code: \\([^0] \\|.[^ ]\\)"

Documentation

Regular expression indicating failure of TLS certificate verification.

The default is what GnuTLS's "gnutls-cli" returns in the event of unsuccessful verification.

This variable was added, or its default value changed, in Emacs 23.1.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/tls.el.gz
(defcustom tls-untrusted
  "- Peer's certificate is NOT trusted\\|Verify return code: \\([^0] \\|.[^ ]\\)"
  "Regular expression indicating failure of TLS certificate verification.
The default is what GnuTLS's \"gnutls-cli\" returns in the event of
unsuccessful verification."
;; or OpenSSL's \"openssl s_client\"
  :type 'regexp
  :version "23.1")