Reputation: 4518
I am trying to create an SSL Binding for an Azure Web App that is a host for an API App.
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.
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?
Upvotes: 4
Views: 4554
Reputation: 309
As of Feb 15 2017, you may encounter a similar issue of "No certificates match the selected hostname"... even if you purchased the certificate from Azure itself. What worked was clicking "Import App Service Certificate" first. Then you can add the SSL binding (this is for non-wildcard, will bind root and www domain). Cheers.
Upvotes: 7
Reputation: 4518
The problem was that I was trying to register a subdomain of subdomain.
Instead of using admin.api.foo.com I started using adminapi.foo.com. It started showing up in the drop down.
Upvotes: 2