Chef-server-ctl user-create failed

Hi All,

i have installed chef server 12.13.0 on brand new machine. installation and reconfgiration is successfull but when i tries to create user on server it gives error.

chef-server-ctl user-create username Dev Grp ‘password’ --filename /tmp/devops.pem
ERROR: Failed to authenticate to as pivotal with key /etc/opscode/pivotal.pem
Response: Invalid signature for user or client ‘pivotal’

Have you run this with root privilege? Add sudo to the beginning of the command and go from there…

Hi Svucich,
Issue got resolved now!! the problem was the node had old configuration of nginx it was referring to.

I am also getting same error when try to create user in chef. What can i do?
and i am new for it