Hi,
It looks like the SSL/TLS certificate issue for https://ajax.aspnetcdn.com has now been resolved by Microsoft. The jQuery URLs under:
https://ajax.aspnetcdn.com/ajax/jQuery/*
are loading again without NET::ERR_CERT_DATE_INVALID in modern browsers, and sites that rely on those assets should start working again as caches and connections refresh.
However, Microsoft’s own documentation for the Microsoft Ajax CDN includes an important production warning:
Production applications should not take a hard dependency on CDN assets. Applications should test for the CDN asset referenced, and use a fallback asset when the CDN is not available.
The Microsoft Ajax CDN has no SLA above and beyond using an Azure CDN.
Source: Microsoft Ajax Content Delivery Network (CDN) overview and the associated GitHub issue: dotnet/AspNetCore.Docs#34049.
To reduce the impact of similar incidents in the future, you may want to:
- Implement a fallback for jQuery (and other critical scripts/styles) so that if the CDN fails (expired cert, network issue, etc.), your app automatically loads a locally hosted copy or a backup CDN.
- Consider hosting especially critical assets on your own domain or an alternative CDN where you control the certificate lifecycle and availability.
- Add monitoring for CDN asset load failures in your production telemetry so you get alerts quickly when a CDN incident affects your apps.
This way, even if there’s a temporary issue with the Microsoft Ajax CDN again, your production applications will continue to function.