From fcd879034c4dcba356cc70f30cf64e6f1f0bd51f Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 2 Oct 2021 21:17:15 +0200 Subject: [PATCH] outpost/proxy: fix missing negation for internal host ssl verification Signed-off-by: Jens Langhammer --- internal/outpost/proxyv2/application/mode_proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/outpost/proxyv2/application/mode_proxy.go b/internal/outpost/proxyv2/application/mode_proxy.go index 14c0e1e63..6630d1687 100644 --- a/internal/outpost/proxyv2/application/mode_proxy.go +++ b/internal/outpost/proxyv2/application/mode_proxy.go @@ -17,7 +17,7 @@ import ( func (a *Application) getUpstreamTransport() http.RoundTripper { return &http.Transport{ - TLSClientConfig: &tls.Config{InsecureSkipVerify: *a.proxyConfig.InternalHostSslValidation}, + TLSClientConfig: &tls.Config{InsecureSkipVerify: !*a.proxyConfig.InternalHostSslValidation}, } }