[chef] Re: Help to recovery chef-validator user with old keys


Chronological Thread 
  • From: Nic Grayson < >
  • To: " " < >
  • Subject: [chef] Re: Help to recovery chef-validator user with old keys
  • Date: Tue, 12 Nov 2013 10:44:53 -0600

The validator is stored here on your chef-server /etc/chef/validation.pem

If you want to regenerate it you can do this:

$ ls -l /etc/chef/validation.pem
-rw-r--r-- 1 root root 1676 2011-07-14 11:44 /etc/chef/validation.pem
$ sudo rm /etc/chef/validation.pem
$ sudo /etc/init.d/chef-server restart
 * Restarting chef-server
 ~ Killing pid 10783 with INT
 ~ In 12051
   ...done.
$ ls -l /etc/chef/validation.pem
-rw------- 1 chef chef 1679 2011-07-14 11:55 /etc/chef/validation.pem

If you are on hosted chef you will need to regenerate it via the webUI.



On Tue, Nov 12, 2013 at 10:36 AM, Eduardo Dias < " target="_blank"> > wrote:
Hi Chefs,

the users chef-validator and chef-webui disappeared, I have created them but I am suffering to recover the keys of chef-validator, I need to to it because I have a lot of system that are configure to deploy system.

Anyone has a tip to do it?

Thanks.

Regards

Eduardo




Archive powered by MHonArc 2.6.16.

§