Managed Certificate fails handshake

Bradley 0 Reputation points
2026-08-06T20:18:17.9733333+00:00

I have an app service with multiple custom domains, each with its own SSL binding and cert. One of them has failed 2 different times over the last 2 days. When you access the domain you get an SSL "handshake" error. The solution has been to delete the binding and managed certificate and reestablish both. I am trying to figure out what is causing this. It appears the certificate is become corrupt.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


2 answers

Sort by: Most helpful
  1. kagiyama yutaka 4,835 Reputation points
    2026-08-08T05:16:04.49+00:00

    I think the managed certificate itself isn’t failing. A TLS handshake error in App Service appears only when the TLS/SSL binding isn’t active, and re‑attaching the cert makes the domain work again. I asked for the renewal timing and the cert actually served on the endpoint, because those are the facts needed to check why the binding stopped working.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-08-06T20:18:37.3966667+00:00

    A repeated TLS handshake failure on one custom domain in Azure App Service usually points to a binding or certificate presentation problem, not a “corrupt” certificate file.

    Most likely causes in this scenario:

    1. The certificate is no longer effectively bound to that hostname If the custom domain has no valid certificate binding, App Service can serve the default certificate or fail HTTPS for that hostname.
    2. The wrong certificate is being served With multiple custom domains and certificates on the same app, mixing SNI SSL and IP-based SSL can cause certificate mismatch or handshake problems. Azure recommends SNI SSL for most scenarios.
    3. A binding conflict exists If the same certificate is used with IP-based SSL elsewhere, Azure can hit binding conflicts such as: Cannot set certificate for existing VIP because another VIP already uses that certificate.
    4. The renewed certificate did not sync correctly If a certificate renewed but the app still serves the old one, the documented fix is to go to the App Service Certificate resource and select Synchronize. If needed, use Rekey and Sync.
    5. Key Vault access or sync issues If renewal happened but the web app still serves the old certificate, verify Key Vault access policies and then sync the certificate.

    What to check next:

    1. In the Azure portal, open the web app and go to TLS/SSL settings.
    2. Verify that the failing hostname still has a binding to the intended certificate.
    3. Confirm the binding type is SNI SSL unless legacy client support requires IP-based SSL.
    4. If the app mixes SNI and IP-based bindings for different certificates, simplify the configuration. This can cause the wrong certificate to be presented.
    5. If the certificate was recently renewed, open the App Service Certificate resource and run Synchronize. If needed, try Rekey and Sync.
    6. If the certificate is stored through Key Vault integration, verify Key Vault access policies and then sync again.
    7. Test the hostname after rebinding. The expected result is that the site loads over HTTPS without certificate warnings.

    CLI checks:

    az webapp config hostname list --resource-group <RG> --name <AppName>
    az webapp config ssl list --resource-group <RG> --name <AppName>
    

    These confirm that the hostname is assigned to the app and that the expected certificate is available to the app.

    If the issue keeps recurring after rebinding, that aligns with a binding-loss or sync problem rather than a one-time configuration mistake. In that case, the supported next step is to open an Azure support ticket for investigation, especially if the binding appears to disappear or stop working without intentional changes.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.