厨师通过https使用winrm引导Windows VM

厨师服务器(RHEL 6.5):11.16.4
Windows端点:Windows 2008

bootstrapping可以正常工作(使用winrm config allowUnEncrypeted = truebasic auth = true )。

现在我们通过https尝试同样的事情(但是basic auth = falseAllowUnEncrypted = false

生成自签名证书(使用私钥),并通过端口443validation了telnet。

要检查连接性,我已经从我的terminal(Windows 7)运行以下命令,

 winrs -r:https://<fqdn Of windows EP>:443 -u:administrator -p:password_1 ipconfig 

在受信任的根证书颁发机构下添加自签名证书后,它可以正常工作。

从厨师服务器引导时出错:

 [root@v-ng25-rhel6u5-tpm722 ~]# knife bootstrap windows winrm v-ngibm71tpm7222k8.example.co.in -x Administrator -P 'password_1' -p 443 Waiting for remote response before bootstrap.at depth 0 - 18: self signed certificate ..at depth 0 - 18: self signed certificate ..at depth 0 - 18: self signed certificate ..at depth 0 - 18: self signed certificate ..at depth 0 - 18: self signed certificate ..at depth 0 - 18: self signed certificate ..at depth 0 - 18: self signed certificate ..at depth 0 - 18: self signed certificate ..at depth 0 - 18: self signed certificate ERROR: No response received from remote node after 1.84 minutes, giving up. ERROR: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed 

理想情况下,如果winrs命令有效,那么应该这样做。

任何帮助/指针非常感谢。