Skip to content

Commit

Permalink
Tweaking openssl to match chef-18
Browse files Browse the repository at this point in the history
Signed-off-by: John <[email protected]>
  • Loading branch information
johnmccrae committed May 28, 2024
1 parent 40e15ea commit 7bf613b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/software/openssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7bf613b

Please sign in to comment.