Hosted Chef will not auth for knife

Hi,

I get this error when trying to auth knife

knife data bag from file gl_data_bag
~/workspace/Gold-Lantern-CHEF/chef-repo/data_bags/gl_data_bag/gl.json
-c /home/ubuntu/workspace/Gold-Lantern-CHEF/knife.rb

ERROR: Failed to authenticate to
https://api.opscode.com/organizations/ips1 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 (http://wiki.opscode.com/display/chef/Managing+Organizations+with+the+Hosted+Chef+Management+Console#ManagingOrganizationswiththeHostedChefManagementConsole-RegeneratingthePrivateKeyandtheKnifeConfig)
    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"
client_key
”/home/ubuntu/workspace/Gold-Lantern-CHEF/infiniteprofitsolutions.pem"
validation_client_name “ips1-validator"
validation_key
”/home/ubuntu/workspace/Gold-Lantern-CHEF/ips1-validator.pem"
chef_server_url “https://api.opscode.com/organizations/ips1"
cache_type ‘BasicFile’
#cache_options( :path => “#{ENV[‘HOME’]}/.chef/checksums” )
cookbook_path
[”/home/ubuntu/workspace/Gold-Lantern-CHEF/chef-repo/cookbooks"]

So…what is the issue?

On Wed, Apr 25, 2012 at 10:16 PM, David Montgomery
davidmontgomery@gmail.com wrote:

  1. I am using hosted chef

You can get support for using hosted chef at http://help.opscode.com
or by emailing support@opscode.com

http://wiki.opscode.com/display/chef/Support

Bryan