My sytem username is myuser
but I'm trying to bootstrap machines with a chef-validator.pem
and then a blah.pem
file, and getting 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 blah.pem
file is invalid, or does it mean that it needs to match my system username (so, myuser.pem
)? Either way, what is the root problem and what is the fix?
From the Administration tab in chef name-validator.pem is generated from Organization level, while name.pem is generated from the User level. You may not have generated the user level pem yet.