Skip to content

Instantly share code, notes, and snippets.

@micgo
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micgo/9496459 to your computer and use it in GitHub Desktop.
Save micgo/9496459 to your computer and use it in GitHub Desktop.
Copy Remote Chef Server Certificate
echo | openssl s_client -connect <EXTERNAL_ADDRESS>:443 2>&1 | sed -n '/-\+BEGIN/,/-\+END/p' | sudo tee /etc/chef/trusted_certs/cert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment