Revert "fix: Skip TLS certificate verification for HTTPS upstreams" (#4016)

Signed-off-by: EndlessSeeker <1766508902@qq.com>
This commit is contained in:
EndlessSeeker
2026-06-24 15:39:32 +08:00
committed by GitHub
parent 04389fd0c6
commit 582af464c0
2 changed files with 1 additions and 11 deletions

View File

@@ -170,9 +170,6 @@ func processMTLS(config *Ingress) *networking.ClientTLSSettings {
func processSimple(config *Ingress) *networking.ClientTLSSettings {
tls := &networking.ClientTLSSettings{
Mode: networking.ClientTLSSettings_SIMPLE,
InsecureSkipVerify: &wrappers.BoolValue{
Value: true,
},
}
if config.UpstreamTLS.EnableSNI && config.UpstreamTLS.SNI != "" {