Knife node list

On my server, when I do knife node list or knife client list I get:

ERROR: Failed to authenticate to http://name-of-chef-server:4000 as name-of-chef-server with key
/root/.chef/name-of-chef-server.pem
Response: Failed to authenticate. Ensure that your client key is valid.

If your running chef 11 the port might be wrong as its moved to 443.

--
Joshua Miller

On Thursday, March 27, 2014 at 4:16 PM, Stuart Cracraft wrote:

On my server, when I do knife node list or knife client list I get:

ERROR: Failed to authenticate to http://name-of-chef-server:4000 as name-of-chef-server with key
/root/.chef/name-of-chef-server.pem
Response: Failed to authenticate. Ensure that your client key is valid.

knife configure -i
took care of everything.

On Mar 27, 2014, at 5:21 PM, Joshua Miller jassinpain@gmail.com wrote:

If your running chef 11 the port might be wrong as its moved to 443.

--
Joshua Miller

On Thursday, March 27, 2014 at 4:16 PM, Stuart Cracraft wrote:

On my server, when I do knife node list or knife client list I get:

ERROR: Failed to authenticate to http://name-of-chef-server:4000 as name-of-chef-server with key
/root/.chef/name-of-chef-server.pem
Response: Failed to authenticate. Ensure that your client key is valid.

As noted in previous reply, if you are using chef11, the server URL should be:
https://<nameORipaddr_of_chef_srvr>
No port designation
Use secure http

regardless of what knife configured,
I ran into similar situation.

Sent from my iPhone

On Mar 27, 2014, at 5:24 PM, Stuart Cracraft smcracraft@me.com wrote:

knife configure -i
took care of everything.

On Mar 27, 2014, at 5:21 PM, Joshua Miller jassinpain@gmail.com wrote:

If your running chef 11 the port might be wrong as its moved to 443.

--
Joshua Miller

On Thursday, March 27, 2014 at 4:16 PM, Stuart Cracraft wrote:

On my server, when I do knife node list or knife client list I get:

ERROR: Failed to authenticate to http://name-of-chef-server:4000 as name-of-chef-server with key
/root/.chef/name-of-chef-server.pem
Response: Failed to authenticate. Ensure that your client key is valid.

There's another Joshua Miller on this list? Excellent!

On Thu, Mar 27, 2014 at 6:58 PM, Anna Redding amrsun23@yahoo.com wrote:

As noted in previous reply, if you are using chef11, the server URL
should be:
https://<nameORipaddr_of_chef_srvr>
No port designation
Use secure http

regardless of what knife configured,
I ran into similar situation.

Sent from my iPhone

On Mar 27, 2014, at 5:24 PM, Stuart Cracraft smcracraft@me.com wrote:

knife configure -i
took care of everything.

On Mar 27, 2014, at 5:21 PM, Joshua Miller jassinpain@gmail.com wrote:

If your running chef 11 the port might be wrong as its moved to 443.

--
Joshua Miller

On Thursday, March 27, 2014 at 4:16 PM, Stuart Cracraft wrote:

On my server, when I do knife node list or knife client list I get:

ERROR: Failed to authenticate to http://name-of-chef-server:4000 as
name-of-chef-server with key
/root/.chef/name-of-chef-server.pem
Response: Failed to authenticate. Ensure that your client key is valid.