static web app returns invalid certificate error while it used to work earlier.

Mohsen Rahimimoghaddam 0 Reputation points
2024-08-07T11:28:46.6666667+00:00

We have two static web app set up earlier to use custom domain. Since few weeks ago they both are now giving us invalid certificate errors. while we are sure that's not an issue I read that in communities that it is a bug in azure. could you please help

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,101 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 18,821 Reputation points
    2024-08-13T03:36:01.1733333+00:00

    @Mohsen Rahimimoghaddam we are sorry to hear you're facing this issue. Did you make any changes to the CNAME records for your custom domains ?

    If you have CAA records set up, make sure they allow DigiCert to issue certificates for your domain. You can add a CAA record like mydomain.com CAA 0 issue "digicert.com". Also, check the validity of the SSL certificate by opening the WebApp in a browser and clicking on the padlock icon in the address bar. This will show you the details of the SSL certificate, including the expiration date.

    0 comments No comments

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.