mirror of
https://github.com/2dust/v2rayN.git
synced 2026-02-18 08:13:02 +00:00
Disable insecure when cert pinned (#8733)
This commit is contained in:
parent
d589713fd5
commit
eb0f5bafde
1 changed files with 1 additions and 0 deletions
|
|
@ -325,6 +325,7 @@ public partial class CoreConfigV2rayService
|
|||
else if (!node.CertSha.IsNullOrEmpty())
|
||||
{
|
||||
tlsSettings.pinnedPeerCertSha256 = node.CertSha;
|
||||
tlsSettings.allowInsecure = false;
|
||||
}
|
||||
streamSettings.tlsSettings = tlsSettings;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue