* Remove outdated CA certificates

* Support verifyPeerCertByName

* Fix
This commit is contained in:
DHR60
2026-06-03 07:07:53 +00:00
committed by GitHub
parent b2bbc865af
commit af3d579890
3 changed files with 73 additions and 58 deletions
@@ -136,7 +136,9 @@ public class NodeValidator
}
// Check for deprecated allowInsecure property when TLS is enabled
if (item.AllowInsecure == "true")
if (item.AllowInsecure == "true"
&& item.Cert.IsNullOrEmpty()
&& item.CertSha.IsNullOrEmpty())
{
v.Warning(ResUI.MsgAllowInsecureDeprecated);
}