Skip to content

Commit

Permalink
Merge pull request #43370 from code-dot-org/update-chef-trusted-root-…
Browse files Browse the repository at this point in the history
…certificates

update list of root certificates that Chef client trusts
  • Loading branch information
sureshc committed Nov 10, 2021
2 parents 6598769 + 424c7c2 commit e0fd769
Show file tree
Hide file tree
Showing 3 changed files with 3,241 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aws/chef-bootstrap.sh
Expand Up @@ -72,6 +72,10 @@ else
fi
${CHEF_CLIENT} -v

# Replace root certificates in the installation of OpenSSL embedded in Chef client with a newer list from our repository
# that we periodically obtain and commit to our repository from https://curl.se/docs/caextract.html
curl -o /opt/chef/embedded/ssl/certs/cacert.pem https://raw.githubusercontent.com/code-dot-org/code-dot-org/${BRANCH}/cookbooks/cacert.pem

mkdir -p /etc/chef
CLIENT_RB=/etc/chef/client.rb
cat <<RUBY > ${CLIENT_RB}
Expand Down

0 comments on commit e0fd769

Please sign in to comment.