mirror of https://github.com/portainer/portainer
fix(endpoints): set TLSSkipVerify to false when TLS is not enabled during update (#1896)
parent
2c0595f5ed
commit
79f4c20c25
|
@ -472,7 +472,7 @@ func (handler *EndpointHandler) handlePutEndpoint(w http.ResponseWriter, r *http
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
endpoint.TLSConfig.TLS = false
|
endpoint.TLSConfig.TLS = false
|
||||||
endpoint.TLSConfig.TLSSkipVerify = true
|
endpoint.TLSConfig.TLSSkipVerify = false
|
||||||
endpoint.TLSConfig.TLSCACertPath = ""
|
endpoint.TLSConfig.TLSCACertPath = ""
|
||||||
endpoint.TLSConfig.TLSCertPath = ""
|
endpoint.TLSConfig.TLSCertPath = ""
|
||||||
endpoint.TLSConfig.TLSKeyPath = ""
|
endpoint.TLSConfig.TLSKeyPath = ""
|
||||||
|
|
Loading…
Reference in New Issue