# Chef-server-ctl user-create failed

**URL:** <https://discourse.chef.io/t/chef-server-ctl-user-create-failed/10669>\
**Category:** Chef Infra (archive)\
**Created:** [March 30, 2017, 4:07am UTC](https://discourse.chef.io/t/chef-server-ctl-user-create-failed/10669 "2017-03-30T04:07:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkeshark](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bkeshark](https://discourse.chef.io/u/bkeshark)\
**Post date:** [March 30, 2017, 4:07am UTC](https://discourse.chef.io/t/chef-server-ctl-user-create-failed/10669/1 "2017-03-30T04:07:12Z")

</div>

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 [username@gmail.com](mailto:username@gmail.com) ‘password’ --filename /tmp/devops.pem  
ERROR: Failed to authenticate to [https://127.0.0.1:443](https://127.0.0.1:443) as pivotal with key /etc/opscode/pivotal.pem  
Response: Invalid signature for user or client ‘pivotal’

---

<div class="post-metadata">

**Author:** ![svucich](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/svucich/32/1717_2.png) [@svucich](https://discourse.chef.io/u/svucich)\
**Post date:** [March 30, 2017, 9:43pm UTC](https://discourse.chef.io/t/chef-server-ctl-user-create-failed/10669/2 "2017-03-30T21:43:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bkeshark](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@bkeshark](https://discourse.chef.io/u/bkeshark)\
**Post date:** [March 31, 2017, 9:11am UTC](https://discourse.chef.io/t/chef-server-ctl-user-create-failed/10669/3 "2017-03-31T09:11:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Ashwin](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@Ashwin](https://discourse.chef.io/u/Ashwin)\
**Post date:** [December 8, 2018, 12:24pm UTC](https://discourse.chef.io/t/chef-server-ctl-user-create-failed/10669/4 "2018-12-08T12:24:58Z")

</div>

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