mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 20:37:37 +03:00
documentation: Certificate store
This commit is contained in:
parent
e8b43a97f7
commit
f4d5823bb2
2 changed files with 56 additions and 2 deletions
54
docs/configuration/certificate/index.md
Normal file
54
docs/configuration/certificate/index.md
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
---
|
||||||
|
icon: material/new-box
|
||||||
|
---
|
||||||
|
|
||||||
|
!!! question "Since sing-box 1.12.0"
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
| Type | Description |
|
||||||
|
|--------------------|---------------------------------------------------------------------------------------------------------------|
|
||||||
|
| `system` (default) | System trusted CA certificates |
|
||||||
|
| `mozilla` | [Mozilla Included List](https://wiki.mozilla.org/CA/Included_Certificates) with China CA certificates removed |
|
||||||
|
| `none` | Empty 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.
|
|
@ -96,8 +96,8 @@ nav:
|
||||||
- DNS Rule: configuration/dns/rule.md
|
- DNS Rule: configuration/dns/rule.md
|
||||||
- DNS Rule Action: configuration/dns/rule_action.md
|
- DNS Rule Action: configuration/dns/rule_action.md
|
||||||
- FakeIP: configuration/dns/fakeip.md
|
- FakeIP: configuration/dns/fakeip.md
|
||||||
- NTP:
|
- NTP: configuration/ntp/index.md
|
||||||
- configuration/ntp/index.md
|
- Certificate: configuration/certificate/index.md
|
||||||
- Route:
|
- Route:
|
||||||
- configuration/route/index.md
|
- configuration/route/index.md
|
||||||
- GeoIP: configuration/route/geoip.md
|
- GeoIP: configuration/route/geoip.md
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue