azure : No certificates match the selected hostname even it has the certificate

标签 azure ssl certificate azure-app-service-plans

我已经设置了我的自定义通配符域,它是与 SSL 证书一起购买的。我还使用我的 Azure 应用程序设置了这些。

这是我需要删除证书才能将我的 azure 应用程序从一个订阅移动到另一个订阅的限制。因此,我删除了证书,然后将我的 Azure 应用移至另一个订阅。

现在,如果我再次尝试添加证书,我将无法获得任何适用于我的域(通配符)的证书。

我尝试添加像这样的证书

  1. 自定义域 -> 添加绑定(bind)
    结果为没有证书与所选主机名匹配
  2. SSL 设置-> 添加 SSL 绑定(bind)
    结果与没有证书匹配所选主机名
  3. SSL设置-私有(private)证书->导入私有(private)证书
    结果为未找到有效证书

我发现这个类似 SO thread但不幸的是,它对我不起作用。我认为与某些 UI 错误有关?

最佳答案

根据您的描述,您会将应用服务证书移动到另一个订阅。

limitations for moving App Service resources适用于上传的证书,而不适用于应用服务证书。您可以不受限制地将应用服务证书移动到新的资源组或订阅。

When moving a Web App across subscriptions, the following limitations apply:

1.The destination resource group must not have any existing App Service resources.

Note:App Service resources include:Web Apps,App Service plans,Uploaded or imported SSL certificates,App Service Environments

2.All App Service resources in the resource group must be moved together.

3.App Service resources can only be moved from the resource group in which they were originally created. If an App Service resource is no longer in its original resource group, it must be moved back to that original resource group first, and then it can be moved across subscriptions.

如果您想在 Azure 的不同订阅中使用您的应用服务证书,您可以引用此 article .

关于 azure : No certificates match the selected hostname even it has the certificate,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53094316/

相关文章:

node.js - Azure 上的路由问题/node.js vue 应用程序

javascript - Jsrsasign。如何验证服务器上的签名?

PHP cookie 随机取消设置

ssl - 从普遍信任的证书创建我自己的中间证书颁发机构

Azure 搜索。分页时如何获取结果计数

java - 如何使用基于证书的身份验证创建Azure blob并使用java从中下载文件

azure - azure SQL基于DTU消耗报警的Auto sql

python - SSL错误 : Can't connect to HTTPS URL because the SSL module is not available on google app engine

ssl - 如何使用 Datadog 监控 ssl 证书?

asp.net - 我如何检查客户端浏览器 SSL 证书