Sometime this week my server suddenly began issuing pre-expired SSL certificates on one account. This account is used only to host email for a specific domain, so the only DNS pointing to the cPanel server is mail.example.com. Hosting mail only for that domain has never been a problem and I doubt it is now, but because the site itself is hosted on a Windows Server whatever fix I find here has to keep this in mind.
The site itself is an ASP.Net Core app which connects from Razor pages with the cPanel server to process mail sent from sites when users fill out contact forms, register, or the system wants to send them notifications. When trying to send mail I am told "A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file."
Thinking this was due an error in .Net which was failing to send emails due to a criteria that shouldn't stop a message from being sent I started posting elsewhere, but people in those places seem to think the problem is with the mail server and not the .Net Core framework.
Back to the cPanel server, whenever I run AutoSSL the certificate that gets generated has an expiration date of today12:00 AM which was of course the beginning of TODAY, so how am I supposed to use AutoSSL if it only issues expired certificates now?
Also, is there any way to force cPanel to only issue certs with expiration dates for which the year must be at least one higher than the current one? Usually, SSL certificates are supposed be issued annually.
The site itself is an ASP.Net Core app which connects from Razor pages with the cPanel server to process mail sent from sites when users fill out contact forms, register, or the system wants to send them notifications. When trying to send mail I am told "A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file."
Thinking this was due an error in .Net which was failing to send emails due to a criteria that shouldn't stop a message from being sent I started posting elsewhere, but people in those places seem to think the problem is with the mail server and not the .Net Core framework.
Back to the cPanel server, whenever I run AutoSSL the certificate that gets generated has an expiration date of today12:00 AM which was of course the beginning of TODAY, so how am I supposed to use AutoSSL if it only issues expired certificates now?
Also, is there any way to force cPanel to only issue certs with expiration dates for which the year must be at least one higher than the current one? Usually, SSL certificates are supposed be issued annually.
Last edited: