Skip to content

Commit

Permalink
fix: Generate TLS Certificates on startup and only keep in memory (#6540
Browse files Browse the repository at this point in the history
)

Signed-off-by: David Collom <david.collom@jetstack.io>
  • Loading branch information
davidcollom authored and sarabala1979 committed Sep 3, 2021
1 parent 36d2389 commit 563bb04
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/argo/commands/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,8 @@ See %s`, help.ArgoSever),
return err
}
tlsConfig = &tls.Config{
Certificates: []tls.Certificate{*cer},
MinVersion: uint16(tlsMinVersion),
InsecureSkipVerify: true,
Certificates: []tls.Certificate{*cer},
MinVersion: uint16(tlsMinVersion),
}
} 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 563bb04

Please # to comment.