我已经在一个物理 Linux 节点上成功安装了 Chef 服务器,现在我正在尝试在另一个 Linux VM 上安装 chef-client,不幸的是我遇到了以下错误。
ERROR: Your private key could not be loaded from /etc/chef/webui.pem
Check your configuration file and ensure that your private key is readable
所以webui.pem
从 chef server 复制到 Linux Client 试图执行 Knife Client List
ERROR: Failed to authenticate to http://xxx.xxx.xxx.xxx:4000 as admin with key /etc/chef/webui.pem
Response: Failed to authenticate. Ensure that your client key is valid.