Skip to content

Commit

Permalink
fix: Fix x509: certificate signed by unknown authority error (#6566)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Collins <alex_collins@intuit.com>
  • Loading branch information
alexec committed Aug 18, 2021
1 parent 5463b5d commit 0df0f3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/argo/commands/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/")
Expand Down

0 comments on commit 0df0f3a

Please sign in to comment.