Variable: gnutls-trustfiles

gnutls-trustfiles is a customizable variable defined in gnutls.el.gz.

Value

("/etc/ssl/certs/ca-certificates.crt"
 "/etc/pki/tls/certs/ca-bundle.crt" "/etc/ssl/ca-bundle.pem"
 "/usr/ssl/certs/ca-bundle.crt"
 "/usr/local/share/certs/ca-root-nss.crt" "/etc/ssl/cert.pem"
 "/etc/certs/ca-certificates.crt" "/system/etc/security/cacerts/*"
 "/system/etc/security/cacerts_supl/*"
 "/system/etc/security/cacerts_google/*"
 "/data/misc/user/0/cacerts-added/*")

Documentation

List of CA bundle location filenames or a function returning said list.

If a file path contains glob wildcards, they will be expanded. The files may be in PEM or DER format, as per the GnuTLS documentation. The files may not exist, in which case they will be ignored.

Source Code

;; Defined in /usr/src/emacs/lisp/net/gnutls.el.gz
(defcustom gnutls-trustfiles
  '(
    "/etc/ssl/certs/ca-certificates.crt"     ; Debian, Ubuntu, Gentoo,
                                             ; Arch, Guix, Parabola
    "/etc/pki/tls/certs/ca-bundle.crt"       ; Fedora and RHEL
    "/etc/ssl/ca-bundle.pem"                 ; Suse
    "/usr/ssl/certs/ca-bundle.crt"           ; Cygwin
    "/usr/local/share/certs/ca-root-nss.crt" ; FreeBSD
    "/etc/ssl/cert.pem"                      ; macOS, Dragora, Parabola
    "/etc/certs/ca-certificates.crt"         ; OpenIndiana
    "/system/etc/security/cacerts/*"	     ; Android system
    "/system/etc/security/cacerts_supl/*"    ; Android, supplementary
    "/system/etc/security/cacerts_google/*"  ; Android, Google
    "/data/misc/user/0/cacerts-added/*"	     ; Android, user-specified (?)
    )
  "List of CA bundle location filenames or a function returning said list.
If a file path contains glob wildcards, they will be expanded.
The files may be in PEM or DER format, as per the GnuTLS documentation.
The files may not exist, in which case they will be ignored."
  :type '(choice (function :tag "Function to produce list of bundle filenames")
                 (repeat (file :tag "Bundle filename"))))