更新SSL证书时遇到问题 [英] Trouble with Updating SSL certificate

查看:136
本文介绍了更新SSL证书时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我一直在尝试更新已在Azure云服务上部署的网站的ssl证书.我一直在这里使用步骤https://docs.microsoft.com/zh-cn/azure/cloud-services/cloud-services-configure-ssl-certificate-portal,但它仍然 没用.

我已经更新了ServiceConfiguration.Cloud和本地文件ServiceDefinition.csdef文件,并将指纹更新为新的指纹.在我的云服务下>设置>配置会显示新的SSL证书指纹,但是当 我单击生产站点,它仍然显示旧证书.但是,在我的暂存站点中,新证书的确带有新指纹.我还从证书"选项卡中删除了旧证书,所以我仍然不确定为什么要使用旧证书 显示在该网站上.

我在这里也发现了类似的问题,并按照提供的答案中的指示进行操作:
https://social.msdn.microsoft.com/Forums/azure/zh-CN/bff25f6f-50ad-4072-bbc5-3fe7df0fb361/azure-cloud-service-is-not-updating-the-ssl-certificate-even-虽然证书已更新并添加了

我想知道这与CSR或证书的安装位置有关吗?云服务没有服务器,我实际上可以访问并创建/安装该服务器,因此我只使用了本地主机.

解决方案

您可以尝试登录Cloud Service VM本身并手动安装证书.

如果您进入门户网站->云服务->角色和实例->远程桌面->启用

设置好用户名和凭据后,保存设置.

然后在您的云服务上选择Roles and Instances->选择一个角色

将弹出一个窗口,您将看到连接",重新启动",重新映像"

选择连接",然后输入您刚刚设置的凭据.

在计算机上安装证书,然后重试.


Hello,

I've been trying to update my ssl certificate for my website that is deployed on Azure cloud services. I've been using the steps here https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-configure-ssl-certificate-portal but it still hasn't worked.

I have already updated my ServiceConfiguration.Cloud and local file, ServiceDefinition.csdef file and updated the thumbprint to the new one. Under my cloud services > settings >configuration it shows the new SSL certificate thumbprint but when I click on the production site, it still shows the old certificate. However in my staging site the new certificate does show with the new thumbprint. I also removed my old certificate from the Certificates tab so I'm still unsure to why the old certificate shows up on the site.

I've also found a similar question be asked here and followed the directions from the answer provided:
https://social.msdn.microsoft.com/Forums/azure/en-US/bff25f6f-50ad-4072-bbc5-3fe7df0fb361/azure-cloud-service-is-not-updating-the-ssl-certificate-even-though-certificate-is-renewed-and-added

I was wondering does this have to do with the CSR or where I installed the certificate? cloud services does not have a server I can actually go to and create/install that so I just used my localhost.

解决方案

You could try logging into the Cloud Service VM itself and installing the cert manually. 

If you go to the portal -> Cloud Services -> Roles and Instances -> Remote Desktop -> Enable 

Once you setup username and credentials save the settings. 

Then on your cloud service select Roles and Instances -> Select a Role 

A window will pop up and you will see Connect, Reboot, reimage

Select Connect and enter the credentials you just setup. 

Install the cert on the machine and try again. 


这篇关于更新SSL证书时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆