[chef] client key


Chronological Thread 
  • From: Nikhil Shah < >
  • To:
  • Subject: [chef] client key
  • Date: Wed, 13 Nov 2013 12:12:57 -0500

What am I doing wrong here?

I launched an open source server. Now I am getting ready to configure my client workstation with new keys. I pulled the chef-validator.pem from the server. 

Nikhils-MacBook-Pro:.chef nshah$ knife configure --initial

Overwrite /Users/nshah/chef_orchard/chef-repo_prod/.chef/knife.rb? (Y/N) y

Please enter the chef server URL: [https://cdpbh71.theorchard.local:443] https://nagios01.theorchard.com:443

Please enter a name for the new user: [nshah] nshah

Please enter the existing admin name: [admin] admin

Please enter the location of the existing admin's private key: [/etc/chef-server/admin.pem] /Users/nshah/chef_orchard/chef-repo_prod/.chef/admin.pem

Please enter the validation clientname: [chef-validator] 

Please enter the location of the validation key: [/etc/chef-server/chef-validator.pem] /Users/nshah/chef_orchard/chef-repo_prod/.chef/chef-validator.pem

Please enter the path to a chef repository (or leave blank): 

Creating initial API user...

Please enter a password for the new user: 

ERROR: OpenSSL::PKey::RSAError: private key needed.

Nikhils-MacBook-Pro:.chef nshah$ ls -ahl

total 56

drwxr-xr-x   11 nshah  staff   374B Nov 13 12:07 .

drwxr-xr-x   16 nshah  staff   544B Nov 13 10:33 ..

-rwxr-xr-x    1 nshah  staff   451B Nov 13 11:11 admin.pem

-rw-------    1 nshah  staff   1.6K Nov 13 10:33 admin.pem2

drwxr-xr-x    3 nshah  staff   102B Nov 13 10:26 bootstrap

-rw-------    1 nshah  staff   1.6K Nov 13 10:35 chef-validator.pem

-rw-------    1 nshah  staff   1.6K Nov 13 10:33 chef-validator.pem2

-rw-r--r--    1 nshah  staff   471B Nov 13 12:14 knife.rb

-rw-r--r--    1 nshah  staff   646B Nov 13 11:46 knife.rb2

-rwxr-xr-x    1 nshah  staff   451B Nov 13 11:10 nshah.pem

drwxr-xr-x  456 nshah  staff    15K Nov 13 10:26 syntax_check_cache


--
Nikhil Shah / System Administrator

nshah@theorchard.com


The Orchard® / www.theorchard.com

t (+1) 212.308.5648 / f (+1) 212.201.9203
23 E. 4th St., 3rd Fl / New York, NY 10003

The Daily Rind™ / www.dailyrindblog.com

Facebook / @orchtweets


Privileged And Confidential Communication.

This electronic transmission, and any documents attached hereto, (a) are protected by the Electronic Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain confidential and/or legally privileged information, and (c) are for the sole use of the intended recipient named above. If you have received this electronic message in error, please notify the sender and delete the electronic message. Any disclosure, copying, distribution, or use of the contents of the information received in error is strictly prohibited



Archive powered by MHonArc 2.6.16.

§