azure - 如何将证书添加到Azure门户中的 'www'子域

标签 azure dns ssl-certificate

Azure 门户更改了颁发证书的方式。我一直无法弄清楚如何保护我的应用程序服务域名的 www。我能够将新证书应用于根域 jasonrsmithmusic.com,但不能 www.jasonrsmithmusic.com出现以下错误:

Error adding managed certificate: Properties.CanonicalName is invalid. Current CNAME records of the hostname www.jasonrsmithmusic.com is jasonrsmithmusic.com

Azure Portal Error GoDaddy DNS

========================================== 更新:根据下面的答案取得了进展,但证书仍然被列为无效。

enter image description here enter image description here enter image description here enter image description here

最佳答案

我尝试在成功添加 www.subdomain 的环境中重现相同的情况。

注意:要映射子域 www.jasonrsmithmusic.com,请确保您应使用 A 记录而不是 CNAME 记录,如下所示。

enter image description here

要解决此问题,您需要添加一个新的自定义域名以及 www.jasonrsmithmusic.com 我之前有一个自定义域名为 travwebapp.com 我使用此自定义域作为 www.travwebapp.com ,如下所示。

并添加了服务管理证书。

enter image description here

enter image description here

要了解更多详细信息,请查看此引用

Map existing custom DNS name - Azure App Service | Microsoft Learn

Add and manage TLS/SSL certificates - Azure App Service | Microsoft Learn

关于azure - 如何将证书添加到Azure门户中的 'www'子域,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74079585/

相关文章:

asp.net-mvc-3 - 2011 年 11 月版本的 Windows Azure WebPi 安装失败

docker - 从主机查询 docker 内嵌的 dns

ssl-certificate - Kubernetes 中 CA 证书的不同功能是什么?

java - Android Jsoup 证书问题

c# - 使用 Azure B2C 身份验证服务进行身份验证之前验证电子邮件

c# - Azure SQLite 插入

reactjs - google 域上 netlify 的 DNS 设置是什么?

C# BitConverter.GetBytes() 填充不正确?

ssl - youtube-v3-api 安全证书更新

azure - 为什么在 Azure 中进行缩放时不会调用 Stopping/OnStop?