Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I burned a ton of time after hitting this one. It seems like a common getting started error with Chef that we should really handle better. If you spin up a node in EC2 it ends up with the cert being signed by the internal hostname and you can't use that self signed cert with knife. The solution it to update the API URL in the server config and reconfigure, but good luck finding anything online to tell you that. We should expand this error message to point to some sort of help documentation otherwise users are going to just drop off here after they can't get the server and knife to talk w/o turning off SSL verification.