Back to Sing Box

Certificate

docs/configuration/certificate/index.md

1.13.111.6 KB
Original Source

!!! question "Since sing-box 1.12.0"

!!! quote "Changes in sing-box 1.13.0"

:material-plus: [Chrome Root Store](#store)

Certificate

Structure

json
{
  "store": "",
  "certificate": [],
  "certificate_path": [],
  "certificate_directory_path": []
}

!!! note ""

You can ignore the JSON Array [] tag when the content is only one item

Fields

store

The default X509 trusted CA certificate list.

TypeDescription
system (default)System trusted CA certificates
mozillaMozilla Included List with China CA certificates removed
chromeChrome Root Store with China CA certificates removed
noneEmpty list

certificate

The certificate line array to trust, in PEM format.

certificate_path

!!! note ""

Will be automatically reloaded if file modified.

The paths to certificates to trust, in PEM format.

certificate_directory_path

!!! note ""

Will be automatically reloaded if file modified.

The directory path to search for certificates to trust,in PEM format.