diff options
Diffstat (limited to 'chef-config/lib/chef-config/config.rb')
-rw-r--r-- | chef-config/lib/chef-config/config.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chef-config/lib/chef-config/config.rb b/chef-config/lib/chef-config/config.rb index 4e9355192a..755ec85a93 100644 --- a/chef-config/lib/chef-config/config.rb +++ b/chef-config/lib/chef-config/config.rb @@ -446,7 +446,13 @@ module ChefConfig # # In the future, this configuration option may be replaced with an # automatic negotiation scheme. - default :authentication_protocol_version, "1.0" + default :authentication_protocol_version do + if OpenSSL::OPENSSL_FIPS + "1.3" + else + "1.1" + end + end # This key will be used to sign requests to the Chef server. This location # must be writable by Chef during initial setup when generating a client |