`bosh`给了我一个`x509:无法验证证书' - 我该如何解决?

时间:2016-08-01 19:07:12

标签: bosh-deployer

当我尝试设置BOSH环境时,出现x509错误:

$ bosh env 192.168.50.4 lite
Fetching info:
  Performing request GET 'https://192.168.50.4:25555/info':
    Performing GET request:
      Get https://192.168.50.4:25555/info: x509: certificate signed by unknown authority

Exit code 1

2 个答案:

答案 0 :(得分:1)

您似乎可以设置--ca-cert https://github.com/cloudfoundry/cf-deployment/issues/170

示例: bosh -e MYDIRECTORIPADDRESS --ca-cert <(bbl Director-ca-cert)deploy ...

答案 1 :(得分:0)

考虑到通配符(&#34; *&#34;)经常不会识别点(&#34;。&#34;)。 像CN&#34; first.example.com&#34;被屏蔽为&#34; * .example.com&#34;,而不是&#34; * example.com&#34;。

您的最新编辑似乎表明未导入认证链。