Invalid or incorrectly named chef's PEM file?

My username is sytem myuser, but I try to boot the machines with chef-validator.pemand then blah.pemget the following error message:

ERROR: Failed to authenticate to https://mychef01 as blah with key
/etc/chef/blah.pem.
Response: Invalid signature for user or client 'blah'

Does this mean that the file is blah.peminvalid or does it mean that it must match the name of my system (sic myuser.pem)? In any case, what is the root problem and what is the fix?

+4
source share
4 answers

On the Administration tab in the chef file, validator.pem is created at the organization level, and .pem is created at the user level. You may not have created a user level pager yet.

+3

. . {user}.pem, .

+2

. . "Gear" ( ), reset, ( .chef), .

, , , .pem knife.rb

,

0

https://api.chef.io/organizations

Administration tab. Open the Users menu. Create a new key. Then go to the "Organizations" menu item and create a new key validator and a new key. Run it again.

-2
source

All Articles