mirror of
https://github.com/alibaba/higress.git
synced 2026-05-27 22:27:29 +08:00
fix: Skip TLS certificate verification for HTTPS upstreams (#3770)
Signed-off-by: CH3CHO <ch3cho@qq.com>
This commit is contained in:
@@ -170,6 +170,9 @@ 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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user