ASP.Net Core Site Stops Sending Emails Citing Mysterious SSL Issue

PostAlmostAnything 1 Reputation point
2022-05-14T02:27:58.857+00:00

What might suddenly make it impossible for a .Net 5 website to stop sending email citing the following:

An unhandled exception occurred while processing the request.
InvalidOperationException: An error occurred while attempting to establish an SSL or TLS connection.

The server's SSL certificate could not be validated for the following reasons:
• The server certificate has the following errors:
• A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file.
MySite.Pages.contact.IndexModel.SendEmailAdmin(string name, string email, string subject, string message) in Index.cshtml.cs, line 143
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,157 questions
{count} votes