本文介绍了尝试为 Azure Web 应用添加 SSL 绑定时没有证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为作为 API 应用程序主机的 Azure Web 应用程序创建 SSL 绑定.

I am trying to create an SSL Binding for an Azure Web App that is a host for an API App.

导航到相关 Web 应用程序的自定义域和 SSL"后,我添加了一个自定义域名admin.api.foo.com"并为我的通配符证书 (*.foo.com) 上传了 PFX并显示在证书"部分的列表中.

After navigating to "Custom domains and SSL" for the web app in question, I have added a custom domain name "admin.api.foo.com" and uploaded the PFX for my wildcard certificate (*.foo.com) and it displays in the list in the "Certificates" section.

我认为下一步是创建 SSL 绑定.所以我转到SSL 绑定"部分,我可以从下拉列表中选择主机名admin.api.foo.com",但在证书的下拉列表中只有一个选项选择证书".为什么我的通配符证书没有显示在此下拉列表中?

I think the next step is to create an SSL Binding. So I go to the "SSL bindings" section and I can select the hostname "admin.api.foo.com" from the drop down but in the dropdown for the certificate there is only one option "choose certificate". Why doesn't my wildcard cert show up in this drop down?

推荐答案

问题是我试图注册一个子域的子域.

The problem was that I was trying to register a subdomain of subdomain.

我开始使用 adminapi.foo.com,而不是使用 admin.api.foo.com.它开始出现在下拉列表中.

Instead of using admin.api.foo.com I started using adminapi.foo.com. It started showing up in the drop down.

这篇关于尝试为 Azure Web 应用添加 SSL 绑定时没有证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 19:00