You want your app to be able to access the App Service certificate from code. What will you do?

Experience Level: Senior
Tags: Azure App serviceAzure Cloud

Answer

Add an App Setting with name WEBSITE_LOAD_CERTIFICATES and value of the certificate thumbprint.

Or you can automate it by running the following command:

az webapp config appsettings set --name <app-name> --resource-group <resource-group-name> --settings WEBSITE_LOAD_CERTIFICATES=<comma-separated-certificate-thumbprints

Related Azure Cloud job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.
Azure App service
Azure App service

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself
AZ-500 Microsoft Azure Security Technologies Preparation
AZ-500 Microsoft Azure Security Technologies Preparation

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself