docs: add documentation for TLS client authentication settings

This commit is contained in:
Aximaris 2023-11-26 00:18:29 +08:00
parent 737f47858a
commit 20088dc78f
No known key found for this signature in database
GPG Key ID: FDD8F48521BD09F3
2 changed files with 101 additions and 5 deletions

View File

@ -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"

View File

@ -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
==仅客户端== ==仅客户端==