Hosted Chef will not auth for knife


I get this error when trying to auth knife

knife data bag from file gl_data_bag
-c /home/ubuntu/workspace/Gold-Lantern-CHEF/knife.rb

ERROR: Failed to authenticate to as infiniteprofitsolutions
with key /home/ubuntu/workspace/Gold-Lantern-CHEF/infiniteprofitsolutions.pem
Response: Failed to authenticate as infiniteprofitsolutions. Ensure
that your node_name and client key are correct.

  1. I am using hosted chef
  2. I have the knife config in a given directory and I use the -c flag
  3. I regenerated the client and validator pem files per the docs
    located at (
    and are in the directory where knife is located
  4. Here are the contents of the directory infiniteprofitsolutions.pem
    ips1-validator.pem knife.rb

Here is my knife file.

current_dir = File.dirname(FILE)
log_level :info
log_location STDOUT
node_name “infiniteprofitsolutions"
validation_client_name “ips1-validator"
chef_server_url “"
cache_type ‘BasicFile’
#cache_options( :path => “#{ENV[‘HOME’]}/.chef/checksums” )

So…what is the issue?

On Wed, Apr 25, 2012 at 10:16 PM, David Montgomery wrote:

  1. I am using hosted chef

You can get support for using hosted chef at
or by emailing