Knife bootstrap throwing authentication error

Hi ,

am trying to bootstrap the node in chef server. when I run the command it gives me blow error.

Failed to authenticate to the chef server (http 401).

Can anyone help me out.

Check this out.

There are many reasons for 401. Check that link and see what is applying to you.