Skip to content
Snippets Groups Projects
Unverified Commit 59f8b02d authored by Steven Danna's avatar Steven Danna
Browse files

Set minimum TLS protocol version to TLSv1.2, set PreferServerCipherSuites


Some environments are subject to strict rules about the permitted TLS
protocol verion and available ciphers. Setting TLSv1.2 as the minimum
version ensures we do not use weaker protocols. We've opted against
making this configurable given the age of TLSv1.2 and the increasing
push to deprecate TLSv1.1 and older.

The PreferServerCipherSuites setting is also commonly flagged by SSL
quality scanning tools. Since Go provides a relatively modern set of
default ciphers by default, defaulting this to true is unlikely to
make much practical difference.

Signed-off-by: default avatarSteven Danna <steve@chef.io>
parent 5ae09420
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment