Client.pem getting stored at the default location


#1

I am trying to bootstrap a node using user-data with the following command

chef-client -j /etc/chef/prod/first-boot.json -c /etc/chef/prod/client.rb

This works as expected. But the new client.pem always get stored at /etc/chef . How can it be stored at /etc/chef/prod/ instead?