将证书添加到Azure VM规模集

问题描述:

基本上,我正在尝试遵循本指南.

Basically I'm trying to follow this guide..

http://ronaldwildenberg.com/custom-domain-name-and-certificatefor-your-azure-service-fabric-cluster/

它在这里说(关于资源浏览器):

It says here (regarding Resource Explorer):

如果保存(PUT)更新的VM Scale Set资源描述,则证书将安装到该Scale Set中的所有VM.

If you save (PUT) the updated VM Scale Set resource description, the certificate will be installed to all VMs in the scale set.

我已经完成了此操作(将我的新证书添加到密钥库中,然后在模板中引用它),保存后,门户网站说预配并完成,但是rdp进入虚拟机的证书不存在!因此,我的服务失败了(事件查看器中给出的错误是 HttpCertCfg返回的错误代码0x80070520 )

I've done this (adding my new cert to the key vault, then referencing it in the template), upon saving, the portal says provisioning, and completes, but rdp'ing into the VM's the certificate isn't there! And thus my service fails (error given in event viewer is HttpCertCfg returned errorcode 0x80070520)

出了什么问题?:(

Here's a walkthrough on MSDN. It deploys a secondary cert, then swaps.