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
The Daily Rind™ / www.dailyrindblog.com
Archive powered by MHonArc 2.6.16.