We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed3fc10 commit f049698Copy full SHA for f049698
recipes/update_certificates.rb
@@ -19,6 +19,13 @@
19
action :upgrade
20
end
21
22
+# centos8 ca certificates file contains DST ROOT CA X3
23
+if node['platform'] == "centos" && node['platform_version'].to_i == 8
24
+ execute 'Remove DST ROOT CA X3' do
25
+ command 'sed -i \'/# DST Root CA X3/,/-----END CERTIFICATE-----/d\' /etc/ssl/certs/ca-bundle.crt && update-ca-trust'
26
+ end
27
+end
28
+
29
# Prevent Chef from using outdated/distrusted CA certificates
30
# https://github.com/chef/chef/issues/12126
31
if node['platform'] == 'ubuntu'
0 commit comments