mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-06-13 21:54:13 +08:00
docs: add documentation for TLS client authentication settings
This commit is contained in:
parent
737f47858a
commit
20088dc78f
@ -12,6 +12,9 @@
|
|||||||
"certificate_path": "",
|
"certificate_path": "",
|
||||||
"key": [],
|
"key": [],
|
||||||
"key_path": "",
|
"key_path": "",
|
||||||
|
"clientAuth": false,
|
||||||
|
"clientCA": [],
|
||||||
|
"clientCA_path": "",
|
||||||
"acme": {
|
"acme": {
|
||||||
"domain": [],
|
"domain": [],
|
||||||
"data_directory": "",
|
"data_directory": "",
|
||||||
@ -64,8 +67,13 @@
|
|||||||
"min_version": "",
|
"min_version": "",
|
||||||
"max_version": "",
|
"max_version": "",
|
||||||
"cipher_suites": [],
|
"cipher_suites": [],
|
||||||
"certificate": "",
|
"certificate": [],
|
||||||
"certificate_path": "",
|
"certificate_path": "",
|
||||||
|
"clientAuth": false,
|
||||||
|
"client_key": [],
|
||||||
|
"client_key_path": "",
|
||||||
|
"client_certificate": [],
|
||||||
|
"client_certificate_path": "",
|
||||||
"ech": {
|
"ech": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"pq_signature_schemes_enabled": false,
|
"pq_signature_schemes_enabled": false,
|
||||||
@ -189,6 +197,46 @@ The server private key line array, in PEM format.
|
|||||||
|
|
||||||
The path to the server private key, in PEM format.
|
The path to the server private key, in PEM format.
|
||||||
|
|
||||||
|
#### clientAuth
|
||||||
|
|
||||||
|
Enable TLS Client Authentication
|
||||||
|
|
||||||
|
#### clientCA
|
||||||
|
|
||||||
|
==Server only==
|
||||||
|
|
||||||
|
The server's client CA Certificate line array, in PEM format.
|
||||||
|
|
||||||
|
#### clientCA_path
|
||||||
|
|
||||||
|
==Server only==
|
||||||
|
|
||||||
|
The path to the server's client CA certificate, in PEM format.
|
||||||
|
|
||||||
|
#### client_certificate
|
||||||
|
|
||||||
|
==Client only==
|
||||||
|
|
||||||
|
The client certificate line array, in PEM format.
|
||||||
|
|
||||||
|
#### certificate_path
|
||||||
|
|
||||||
|
==Client only==
|
||||||
|
|
||||||
|
The path to the client certificate, in PEM format.
|
||||||
|
|
||||||
|
#### client_key
|
||||||
|
|
||||||
|
==Client only==
|
||||||
|
|
||||||
|
The client private key line array, in PEM format.
|
||||||
|
|
||||||
|
#### client_key_path
|
||||||
|
|
||||||
|
==Client only==
|
||||||
|
|
||||||
|
The path to the client private, in PEM format.
|
||||||
|
|
||||||
## Custom TLS support
|
## Custom TLS support
|
||||||
|
|
||||||
!!! info "QUIC support"
|
!!! info "QUIC support"
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
"certificate_path": "",
|
"certificate_path": "",
|
||||||
"key": [],
|
"key": [],
|
||||||
"key_path": "",
|
"key_path": "",
|
||||||
|
"clientAuth": false,
|
||||||
|
"clientCA": [],
|
||||||
|
"clientCA_path": "",
|
||||||
"acme": {
|
"acme": {
|
||||||
"domain": [],
|
"domain": [],
|
||||||
"data_directory": "",
|
"data_directory": "",
|
||||||
@ -66,9 +69,14 @@
|
|||||||
"cipher_suites": [],
|
"cipher_suites": [],
|
||||||
"certificate": [],
|
"certificate": [],
|
||||||
"certificate_path": "",
|
"certificate_path": "",
|
||||||
|
"clientAuth": false,
|
||||||
|
"client_key": [],
|
||||||
|
"client_key_path": "",
|
||||||
|
"client_certificate": [],
|
||||||
|
"client_certificate_path": "",
|
||||||
"ech": {
|
"ech": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"pq_signature_schemes_enabled": false,
|
"pqignature_schemes_enabled": false,
|
||||||
"dynamic_record_sizing_disabled": false,
|
"dynamic_record_sizing_disabled": false,
|
||||||
"config": [],
|
"config": [],
|
||||||
"config_path": ""
|
"config_path": ""
|
||||||
@ -189,6 +197,46 @@ TLS 版本值:
|
|||||||
|
|
||||||
服务器 PEM 私钥路径。
|
服务器 PEM 私钥路径。
|
||||||
|
|
||||||
|
#### clientAuth
|
||||||
|
|
||||||
|
启用客户端验证
|
||||||
|
|
||||||
|
#### clientCA
|
||||||
|
|
||||||
|
==仅服务器==
|
||||||
|
|
||||||
|
服务器 PEM 验证客户端 CA 证书行数组
|
||||||
|
|
||||||
|
#### clientCA_path
|
||||||
|
|
||||||
|
==仅服务器==
|
||||||
|
|
||||||
|
服务器 PEM 验证客户端 CA 证书路径
|
||||||
|
|
||||||
|
#### client_certificate
|
||||||
|
|
||||||
|
==仅客户端==
|
||||||
|
|
||||||
|
客户端 PEM 证书行数组。
|
||||||
|
|
||||||
|
#### certificate_path
|
||||||
|
|
||||||
|
==仅客户端==
|
||||||
|
|
||||||
|
客户端 PEM 证书路径。
|
||||||
|
|
||||||
|
#### client_key
|
||||||
|
|
||||||
|
==仅客户端==
|
||||||
|
|
||||||
|
客户端 PEM 私钥行数组。
|
||||||
|
|
||||||
|
#### client_key_path
|
||||||
|
|
||||||
|
==仅客户端==
|
||||||
|
|
||||||
|
客户端 PEM 私钥路径。
|
||||||
|
|
||||||
#### utls
|
#### utls
|
||||||
|
|
||||||
==仅客户端==
|
==仅客户端==
|
||||||
|
Loading…
x
Reference in New Issue
Block a user