mirror of
https://github.com/2dust/v2rayN.git
synced 2026-02-04 17:59:45 +05:00
Disable insecure when cert pinned (#8733)
This commit is contained in:
@@ -325,6 +325,7 @@ public partial class CoreConfigV2rayService
|
||||
else if (!node.CertSha.IsNullOrEmpty())
|
||||
{
|
||||
tlsSettings.pinnedPeerCertSha256 = node.CertSha;
|
||||
tlsSettings.allowInsecure = false;
|
||||
}
|
||||
streamSettings.tlsSettings = tlsSettings;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user