Skip to content

Commit

Permalink
skipper: set server minimal TLS version (#3282)
Browse files Browse the repository at this point in the history
The tls-min-version flag specifies "minimal TLS Version to be used in server, proxy and client connections"
but was not used to configure Server TLS.

Follow up on: #1656

Signed-off-by: Alexander Yastrebov <yastrebov.alex@gmail.com>
  • Loading branch information
AlexanderYastrebov authored Oct 29, 2024
1 parent 262c326 commit 2941626
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@ func (c *Config) ToOptions() skipper.Options {
CertPathTLS: c.CertPathTLS,
KeyPathTLS: c.KeyPathTLS,
TLSClientAuth: c.TLSClientAuth,
TLSMinVersion: c.getMinTLSVersion(),
CipherSuites: c.filterCipherSuites(),
MaxLoopbacks: c.MaxLoopbacks,
DefaultHTTPStatus: c.DefaultHTTPStatus,
Expand Down

0 comments on commit 2941626

Please sign in to comment.