Skip to content

Commit

Permalink
Update TLS min-version to 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ReToCode committed Aug 3, 2023
1 parent 2cb1ba5 commit aa344e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/queue/sharedmain/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func Main(opts ...Option) error {
logger.Info("Starting tls server ", name, s.Addr)
s.TLSConfig = &tls.Config{
GetCertificate: certWatcher.GetCertificate,
MinVersion: tls.VersionTLS12,
MinVersion: tls.VersionTLS13,
}
// Don't forward ErrServerClosed as that indicates we're already shutting down.
if err := s.ListenAndServeTLS("", ""); err != nil && !errors.Is(err, http.ErrServerClosed) {
Expand Down

0 comments on commit aa344e3

Please sign in to comment.