From 0df0f3a98fac4e2aa5bc02213fb0a2ccce9a682a Mon Sep 17 00:00:00 2001 From: Alex Collins Date: Wed, 18 Aug 2021 16:03:45 -0700 Subject: [PATCH] fix: Fix `x509: certificate signed by unknown authority` error (#6566) Signed-off-by: Alex Collins --- cmd/argo/commands/server.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/argo/commands/server.go b/cmd/argo/commands/server.go index 3ad9caad65ee..89b8b0c6c926 100644 --- a/cmd/argo/commands/server.go +++ b/cmd/argo/commands/server.go @@ -109,8 +109,9 @@ See %s`, help.ArgoSever), return err } tlsConfig = &tls.Config{ - Certificates: []tls.Certificate{*cer}, - MinVersion: uint16(tlsMinVersion), + Certificates: []tls.Certificate{*cer}, + MinVersion: uint16(tlsMinVersion), + InsecureSkipVerify: true, } } else { log.Warn("You are running in insecure mode. Learn how to enable transport layer security: https://argoproj.github.io/argo-workflows/tls/")