Skip to content

Commit

Permalink
chef: Remove ancient verisign 1024 root cert
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Nov 28, 2023
1 parent 7f055e6 commit 80c0715
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
14 changes: 3 additions & 11 deletions cookbooks/chef/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,9 @@
mode "644"
end

directory "/etc/chef/trusted_certs" do
owner "root"
group "root"
mode "755"
end

template "/etc/chef/trusted_certs/verisign.pem" do
source "verisign.pem.erb"
owner "root"
group "root"
mode "644"
# Remove the ancient verisign certificate workaround
file "/etc/chef/trusted_certs/verisign.pem" do
action :delete
end

directory node[:ohai][:plugin_dir] do
Expand Down
14 changes: 0 additions & 14 deletions cookbooks/chef/templates/default/verisign.pem.erb

This file was deleted.

0 comments on commit 80c0715

Please sign in to comment.