Ian Hebden
Ian Hebden

Reputation: 83

Add SSL binding to Azure custom domain

Trying to add SSL binding for a custom domain, but keep getting the error message "Cannot enable SNI SSL for a hostname 'xxx.com' because current site mode does not allow it."

The app service plan is in the D1 (shared infrastructure) tier, and the SSL certificate is one that I (accidentally) purchased through azure.

Does anyone have any idea what the problem could be?

Upvotes: 5

Views: 2942

Answers (2)

user15346341
user15346341

Reputation: 11

Steps to use Azure App Certificate SSL w/out upgrade a shared resource account to a more expensive account that allows SSL config.

1. Download Azure App Certificate
2. Install Certificate to a local machine
3. Export the certificate from the local machine and add password protection to the export certificate
4. Open Azure -> Custom domains -> Add binding -> upload the pfx certificate and now you can type your password

Upvotes: 1

Claudiu Guiman
Claudiu Guiman

Reputation: 867

From https://learn.microsoft.com/en-us/azure/app-service/web-sites-purchase-ssl-web-site#check-the-pricing-tier: "Custom SSL is not supported in the F1 or D1 tier."

Upvotes: 9

Related Questions