diff --git a/api/http/handler/endpoint.go b/api/http/handler/endpoint.go index 141f8d29d..497ee9cae 100644 --- a/api/http/handler/endpoint.go +++ b/api/http/handler/endpoint.go @@ -472,7 +472,7 @@ func (handler *EndpointHandler) handlePutEndpoint(w http.ResponseWriter, r *http } } else { endpoint.TLSConfig.TLS = false - endpoint.TLSConfig.TLSSkipVerify = true + endpoint.TLSConfig.TLSSkipVerify = false endpoint.TLSConfig.TLSCACertPath = "" endpoint.TLSConfig.TLSCertPath = "" endpoint.TLSConfig.TLSKeyPath = ""