App Service SSL / TLS Origin: Network OSI layer 6 · Presentation Last updated 18 Nov 2026

Azure App Service: custom domain SSL binding failed (certificate not found, thumbprint or hostname validation)

Binding a TLS/SSL certificate to a custom domain in App Service fails or the domain isn't validated.

Exact message you may see Azure App Service custom domain SSL binding failedHostname validation failed asuidCannot bind certificate to hostname App ServiceFailed to create managed certificate for App ServiceThe certificate does not have a private key
Seen on: Azure SSL

Meaning

Verify domain ownership with the TXT (asuid) and CNAME/A records, use a Basic tier or higher plan, import the certificate with its private key (PFX with password), choose SNI SSL, and ensure the certificate's SAN covers the hostname. App Service Managed Certificates need public DNS reachable.

Common causes

  • Missing/wrong asuid TXT or CNAME record
  • Free/Shared tier plan
  • PFX without private key or weak algorithm
  • SAN doesn't include the hostname
  • Proxy (CDN) blocking validation

⚡ Quick fix

  1. Add DNS records shown in the portal
  2. Scale up to Basic+
  3. Upload a PFX with the private key and bind with SNI

Detailed fix by platform

Shell

  1. az webapp config ssl bind --certificate-thumbprint THUMBPRINT --ssl-type SNI --name APP --resource-group RG

How to diagnose

  1. DNS records — Verified?
  2. Plan — Basic+?
  3. PFX — Has key?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Network. Errors that are often confused with or caused by this one (click to open):

40615 — Azure SQL: Cannot open server 'x' requested by the login. Client with IP address 'y' is not allowed to access the server (Error 40615) (Azure)40615553 5.1.8 — 553 5.1.8 Domain of sender address <x> does not exist (sendmail/Exim sender verification) (Email / SMTP)553 5.1.8ACM region — CloudFront can't use my ACM certificate: it must be requested in us-east-1 (N. Virginia) (SSL / TLS)ACM regionALB listener — ALB HTTPS listener: CertificateNotFound / default certificate missing or SNI certificate list incomplete (SSL / TLS)ALB listenercertificate does not have a private key (IIS) — Windows/IIS: A specified logon session does not exist / The certificate does not have a private key associated with it (SSL / TLS)certificate does not …Cookie — Cookie is set but not sent back (Domain, Path or Secure mismatch) (HTTP)CookieDjango — Django send_mail: ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] (EMAIL_USE_SSL vs EMAIL_USE_TLS on the wrong port) (Email / SMTP)Djangodomain verify — Mailgun domain not verified / 'Domain not found': DNS records (SPF, DKIM, MX, tracking CNAME) missing (Email / SMTP)domain verifyApp Servi…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.