Timeout creating new app service managed certificate

Derek Chan 1 Reputation point
2025-08-28T04:50:14.6966667+00:00

I am trying to create a new managed certificate. I have created hundreds of these before and they are all renewing without a problem.

The domain name validates fine, but adding it eventually times out with this error:

Add App Service Managed Certificate

Error adding managed certificate: Pending managed certificate failed: Request Time-out Refer to the documentations for more info: https://go.microsoft.com/fwlink/?linkid=2158627.

  • I have checked all requirements for creating app service certificates
  • I have checked and run all validation scripts to ensure it passes the new requirements from 28 July 2025
  • i have attempted to create using "az webapp config ssl create ... ". This returns "Managed Certificate creation in progress. Please use the command 'az webapp config ssl show ...' to view your certificate once it is created" - but the certificate is never created
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

1 answer

Sort by: Most helpful
  1. TP 134.2K Reputation points Volunteer Moderator
    2025-08-28T05:35:32.8466667+00:00

    Hi Derek,

    If you post the domain you are attempting to create managed certificate for in a comment I will run some DNS queries from multiple global points and see if I see anything wrong. Since you have done it so many times there probably isn't anything wrong, but it won't hurt for me to check.

    After you attempt to add managed certificate, please see if domain validation token is being created using instructions below.

    For example, say you are adding managed certificate for www.yourcustomdomain.com. You start process in Azure portal, then in separate tab you immediately navigate to below link:

    https://www.yourcustomdomain.com/.well-known/pki-validation/fileauth.txt

    You will get security warning, since certificate hasn't been issued, so click Advanced and then click to continue to site. Every 3 seconds or so, refresh the page. At first, you should receive error similar to below screenshot:

    enter image description here

    However, if you keep refreshing your browser every few seconds, within a few minutes you should see token appear, which would be similar to below screenshot:

    enter image description here

    If you keep refreshing the page for 10-15 minutes and token never appears and/or certificate never gets issued, then it means there is an issue and your managed certificate is unlikely to ever get issued.

    After the token shows up, if things are working properly your certificate should be issued in about 5-10 minutes. When it is issued if you again browse to above link the token will be replaced by error message since the token is no longer needed and thus removed.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


Your answer

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