Created
July 14, 2015 16:31
-
-
Save siennathesane/0d2b71bd179ce3e8e151 to your computer and use it in GitHub Desktop.
grab chef certificate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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