chef / cheffish

Resources and tools for testing and interacting with Chef and Chef Server.
Apache License 2.0
38 stars 28 forks source link

document how to disable ssl verification #37

Closed andrewelizondo closed 9 years ago

andrewelizondo commented 9 years ago

using with with chef12 in most cases runs into problems with ssl verification, is there anything I can pass into the opts in Cheffish::ServerApi that would mimic adding ssl_verify_mode :verify_none to my client.rb?

jkeiser commented 9 years ago

Looking at the code, I think the only way to do that is:

Chef::Config.ssl_verify_mode :verify_none
andrewelizondo commented 9 years ago

:+1: I'm ok with that, closing this out