[chef] Chef-solo : Your private key could not be loaded from /etc/chef/client.pem


Chronological Thread 
  • From: Venkat Chowdhary < >
  • To: " " < >
  • Subject: [chef] Chef-solo : Your private key could not be loaded from /etc/chef/client.pem
  • Date: Fri, 14 Mar 2014 15:31:13 +0800 (SGT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=I5DzNwxmepyEApr7gML/eSdI2jI+JjQVC7QzJPofa3LESmuQ0lcTSdxST74nMmY48evpYC3iKTQ3PkKBz/C2KB57Kx+M7CYRSvkFmJmY2VDWvrS0NOBgFQrJnEEPqL5xKOZRAVF8KUExI4PDYZ8boqV7Zj+o+PfZ/+ZymeJgDyI=;

I installed chef using  curl -L https://www.opscode.com/chef/install.sh |  bash 
But after creating an environment using "knife environment create dev", when i am executing below command, i am getting an error.

Command:    knife environment list
 Error:      WARNING: No knife configuration file found
                ERROR: Your private key could not be loaded from /etc/chef/client.pem
                Check your configuration file and ensure that your private key is readable

I am commented out client_key and validation_key in .chef/knife.rb.  Am i really required knife configuration file? If so how can i get it? 

Could you please do the needful help?
 
Thanks & Regards 
Venkat



Archive powered by MHonArc 2.6.16.

§