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 authored and sarabala1979 committed Sep 10, 2021
1 parent 98a30be commit 2730a51
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 2730a51

Please sign in to comment.