Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot bootstrap a node with chef server behind HTTP basic authorization. #8111
I have a chef server that is behind a loadbalancer that is protected by HTTP Basic Authentication. I have tried adding the HTTP Basic Auth credentials in my knife.rb file to both the chef_server_url and chef_server_root parameters and it won't seem to work when bootstrapping a new server. (like how it's done with curl). Any ideas?
When bootstrapping the server, the following 401 Unauthorized error message happens.
I have added to my .chef/config.rb
and tried again but it didn't work.
I also tried
but that didn't work either.