diff --git a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs index 3db5a420..1f5ad4ef 100644 --- a/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs +++ b/v2rayN/ServiceLib/Services/CoreConfig/V2ray/V2rayOutboundService.cs @@ -325,6 +325,7 @@ public partial class CoreConfigV2rayService else if (!node.CertSha.IsNullOrEmpty()) { tlsSettings.pinnedPeerCertSha256 = node.CertSha; + tlsSettings.allowInsecure = false; } streamSettings.tlsSettings = tlsSettings; }