Azure / static-web-apps

Azure Static Web Apps. For bugs and feature requests, please create an issue in this repo. For community discussions, latest updates, kindly refer to the Discussions Tab. To know what's new in Static Web Apps, visit https://aka.ms/swa/ThisMonth
https://aka.ms/swa
MIT License
326 stars 56 forks source link

SSL Cert did not refresh #1024

Open KenSpur opened 1 year ago

KenSpur commented 1 year ago

The ssl cert did not refresh before expiration for a site running on the free tier

Describe the bug

NET::ERR_CERT_DATE_INVALID

Issuer: GeoTrust Global TLS RSA4096 SHA256 2022 CA1

Expires on: Dec 26, 2022

Current date: Dec 27, 2022

Expected behavior I would expect it to refresh before expiration

Extra info Last deploy was 3 months +

It also appears the static web app failed to validate the custom domains: image image although they are linked through a Azure DNS zone using the resource as target.

image

Cert validity period:

Issued On Saturday, June 25, 2022 at 2:00:00 AM Expires On Monday, December 26, 2022 at 12:59:59 AM

KenSpur commented 1 year ago

Deleting > re adding the custom domains & re adding a TXT record fixed the issue for now, though would still expect not to have to do that every time my cert expires ^^

Did something change in the validation process?

lukaszwazny commented 1 year ago

same problem for me

CoreySutton commented 6 months ago

Had this same issue, and was resolved by removing and re-adding the custom domain on the static web app