Skip to content

Commit

Permalink
skipper: set server minimal TLS version
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 <[email protected]>
  • Loading branch information
AlexanderYastrebov committed Oct 19, 2024
1 parent 1b4b204 commit b3a27c3
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 @@ -727,6 +727,7 @@ func (c *Config) ToOptions() skipper.Options {
DebugListener: c.DebugListener,
CertPathTLS: c.CertPathTLS,
KeyPathTLS: c.KeyPathTLS,
TLSMinVersion: c.getMinTLSVersion(),
CipherSuites: c.filterCipherSuites(),
MaxLoopbacks: c.MaxLoopbacks,
DefaultHTTPStatus: c.DefaultHTTPStatus,
Expand Down

0 comments on commit b3a27c3

Please sign in to comment.