Skip to content

Commit

Permalink
add document for tls certChainHash
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaokangwang committed Sep 8, 2024
1 parent 7311c3f commit 5966c9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/en_US/v5/config/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ Whether system level Certificate Authority Store should be trusted.
Pinned Peer Certificate Chain SHA256 Hash. Should be represented in base64 format.

You can generate this value with `./v2ray tls certChainHash --cert <cert.pem>` (v5.18.0+)

> `certificate`: [[CertificateObject](#certificateobject)]

Expand Down
2 changes: 2 additions & 0 deletions docs/v5/config/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ security.tls
使用 Base64 标准编码格式表示的远程服务器的证书链的SHA256散列值。在设置后,远程服务器的证书链的散列值必须为列表中的数值之一。

此数值可以通过以下命令生成: `./v2ray tls certChainHash --cert <cert.pem>` (v5.18.0+)

在连接因为此策略失败时,会展示此证书链散列。不建议使用这种方式获得证书链散列值,因为在这种情况下您没有机会验证此时服务器提供的证书是否为真实证书。

> `certificate`: \[[CertificateObject](#certificateobject)\]
Expand Down

0 comments on commit 5966c9b

Please sign in to comment.