将菜谱上传到私人超市时遇到问题

时间:2015-06-24 14:24:33

标签: chef

我已经安装了Supermarket和Chef服务器。 现在我正试图通过运行刀具命令从本地机器上传食谱。 我根据这份文件配置了我的knife.rb。 https://docs.chef.io/supermarket.html

knife supermarket share c1-supermarket-master "other"
Generating metadata for c1-supermarket-master from /var/folders/6s/vb0m1sqd1hldg7thk6m3dflmv7dc2h/T/chef-c1-supermarket-master-build20150624-23977-1n8kp0n/c1-supermarket-master/metadata.rb
Making tarball c1-supermarket-master.tgz
ERROR: Error uploading cookbook c1-supermarket-master to the Opscode Cookbook Site: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. Increase log verbosity (-VV) for more information.

我跑了

knife ssl fetch https://ip-10-94-165-251/ -c knife.rb

然后

knife ssl check https://ip-10-94-165-251/ -c knife.rb

1 个答案:

答案 0 :(得分:0)

knife.rb没有正确配置正确的厨师服务器网址和超市网址。