2

I installed Chef Development Kit. But I am unable to locate chef.pem and chef-validator.pem files in any directory. I tried through ls command as well. Need help.

Karan Khara
  • 100
  • 5

1 Answers1

3

You get those files from your Chef Server. You don't actually need the validation key anymore so you can ignore that one, and your use key can be found either from the web UI or is printed to the console when you make the user via chef-server-ctl.

coderanger
  • 52,400
  • 4
  • 52
  • 75
  • Right, I just checked we do not need these files anymore. I am using chef dk without any issue now. Thank you! – Karan Khara Dec 28 '16 at 16:23
  • 1
    You do need the user key, just for clarity. – coderanger Dec 28 '16 at 16:30
  • Right now I am stuck at a new problem. I installed chefbook using chef generate cookbook chefbookname – Karan Khara Dec 29 '16 at 02:46
  • Right now I am stuck at a new problem. I installed cookbook using chef generate cookbook cookbookname, and it says it is installed successfully. But when I try to run recipes using runlist, it fails by giving error of missing cookbooks. I am attaching the screenshot in answer section. – Karan Khara Dec 29 '16 at 02:53
  • Please create a new question if you have a new question to ask. – coderanger Dec 29 '16 at 03:31
  • Also if you want more interactive help getting started with Chef, try https://community-slack.chef.io/ or a Chef training class. – coderanger Dec 29 '16 at 03:32