From 7bf613bb6de0f157566cc7ae3b46aef716b0ec0c Mon Sep 17 00:00:00 2001 From: John Date: Tue, 28 May 2024 07:38:16 -0700 Subject: [PATCH] Tweaking openssl to match chef-18 Signed-off-by: John --- config/software/openssl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/software/openssl.rb b/config/software/openssl.rb index b012c4bf1..799ffcd79 100644 --- a/config/software/openssl.rb +++ b/config/software/openssl.rb @@ -356,7 +356,7 @@ # h['MY_VAR'].nil? ? 'foobar' : h['MY_VAR'] fips_env=fips_mode? ? env.merge({"OPENSSL_FIPS" => "1"}) : env gem_path = ENV["OMNIBUS_TOOLCHAIN_INSTALL_DIR"].nil? ? '/opt/omnibus-toolchain/bin' : ENV["OMNIBUS_TOOLCHAIN_INSTALL_DIR"] - command "#{gem_path}/gem install openssl-#{openssl_gem_version}.gem --no-document -- --with-openssl-dir=#{install_dir}/embedded", env: fips_env + command "sudo #{gem_path}/gem install openssl-#{openssl_gem_version}.gem --no-document -- --with-openssl-dir=#{install_dir}/embedded", env: fips_env command "#{gem_path}/gem info openssl" command "#{install_dir}/embedded/bin/openssl list -provider-path providers -provider fips -providers"