mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 06:49:40 +02:00
fix(endpoints): set TLSSkipVerify to false when TLS is not enabled during update (#1896)
This commit is contained in:
parent
2c0595f5ed
commit
79f4c20c25
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue