[chef] Re: Re: generating a new client key for users


Chronological Thread 
  • From: Ranjib Dey < >
  • To: " " < >
  • Subject: [chef] Re: Re: generating a new client key for users
  • Date: Thu, 24 Apr 2014 12:53:44 -0700

its fine :-) . reset passwords.
have you tried the knife * commands? knife regenrate will create new keys for existing clients. `knife client create` can do the same for new clients (no web user). you can create client with predefined pub keys using `knife raw `.

btw you can use OSC and i disable chef webui ,`chef-server-ctl stop/disable chef-server-webui`, you can do pretty much everything using knife, if you have chef/knife installed in your system.


On Thu, Apr 24, 2014 at 12:30 PM, Michael Hart < " target="_blank"> > wrote:
And I just gave out way too much information. On a positive note, creating new accounts and generating new keys works fine. :)

mike
--
Michael Hart
Arctic Wolf Networks






I’m running open source chef server, trying to generate a new client key for myself using the chef web UI . After I copy the private key to ~/.chef/mhart.pem, knife complains with:

ERROR: Failed to authenticate to https://chef.cloud.arcticwolf.net as mhart with key /Users/michaelhart/.chef/mhart.pem
Response:  Invalid signature for user or client ‘mhart'

On a whim I copied the original key back (this is after regenerating the key at least five times) and then knife happily works again. It seems to me that the server is generating a new key but not saving the public key anywhere.

I’m running chef server 11.0.12-1.ubuntu.12.04, knife 11.12.2. AFAIK no errors in the logs at all. I’d check https://tickets.opscode.com/ but it appears to be down.

Thoughts?

thanks
mike

--
Michael Hart
Arctic Wolf Networks










Archive powered by MHonArc 2.6.16.

§