简体   繁体   中英

Does Azure App Service automatically restart when Azure Key Vault renew the certificate?

My Azure App service is loading a certificate from the Azure Key Vault. I have set cert as auto-renew in key vault. My appservice is loading the new certificate, whenever Keyvault renews the cert.

I know AppService keep syncing with Azure Key Vault in a background process. How does it happen when AppService finds there is a renewed certificate in Key Vault? Does appservice loads new renewed cert in the Current User and restart the AppService?

Thanks

How does it happen when AppService finds there is a renewed certificate in Key Vault?

The Web App service runs a background job that periodically (once a day ) that syncs all App Service certificate. Hence when you rotate or update a certificate, sometimes the application is still retrieving the old certificate and not the newly updated certificate. This is because the job has not run to sync the certificate resource. It will automatically update the hostname bindings for the certificate in App Service within 48 hours.

Does app service loads new renewed cert in the Current User and restart the AppService?

It will automatically updates the certificate in App Service without causing any downtime to your apps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM