Skip to content

Instantly share code, notes, and snippets.

@siennathesane
Created July 14, 2015 16:31
Show Gist options
  • Save siennathesane/0d2b71bd179ce3e8e151 to your computer and use it in GitHub Desktop.
Save siennathesane/0d2b71bd179ce3e8e151 to your computer and use it in GitHub Desktop.
grab chef certificate
echo -n | openssl s_client -connect packagecloud.io:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee '/usr/local/share/ca-certificates/chef_ca.crt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment