English
certificate — root certificates
The store of trusted root certificates that TLS clients (outbounds, DoT/DoH, group probes, downloads of rule-sets and subscriptions) verify servers against.
yaml
certificate:
store: mozilla
certificate_path:
- corp-ca.pem| Field | Meaning |
|---|---|
store | The base set: system (default) — the system store; mozilla — the built-in Mozilla set; chrome — the built-in Chrome set; none — empty |
certificate | Additional PEM certificates right in the configuration (a string or a list) |
certificate_path | PEM files with additional certificates |
certificate_directory_path | Directories with PEM files |
Additional certificates are added to the base set. Without the section the system store is used. Files and directories are reread when they change.
The system store is the file SSL_CERT_FILE and the directories of SSL_CERT_DIR (separated by :) if either variable is set; otherwise the first bundle found among the usual places (/etc/ssl/certs/ca-certificates.crt, /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem, /etc/ssl/cert.pem and others, as OpenSSL looks) plus the directories /etc/ssl/certs, /etc/pki/tls/certs and /etc/security/certificates. It is read once, on the first verification that needs it.
A particular connection's own verification settings (insecure, certificate, key pinning) are set in the tls block.