make ChefDK tools trust untrusted SSL certificates

ChefDK:

* Linux/OS X – /opt/chefdk/embedded/ssl/certs/cacert.pem
* Windows – C:\opscode\chefdk\embedded\ssl\certs\cacert.pem

cat .chef/trusted_certs/* | sudo tee -a /opt/chefdk/embedded/ssl/certs/cacert.pem
knife ssl fetch [https://url]

Berks:

~/.berkshelf/config.json

{"ssl":{"verify": false }}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.