SSL certificates

Fix an expired SSL certificate and renew it in time

Recover from an expired SSL certificate: find out why AutoSSL did not renew, re-run it, renew and reinstall a paid certificate and set up expiry monitoring.

IntermediatecPanel hosting3 min read

When a certificate expires, browsers show a full-page warning such as NET::ERR_CERT_DATE_INVALID and most visitors leave. The fix depends on the certificate: free AutoSSL certificates renew themselves unless something blocks them, while paid certificates must be renewed and installed by hand.

Before you start

  • Check your computer's date and time. A wrong clock produces the same error for every site.
  • Find out which certificate is installed: click the warning's details, or open cPanel → Security → SSL/TLS Status.

Free AutoSSL certificate expired

AutoSSL starts renewing well before expiry. If it failed, the reason is shown in cPanel.

  1. Open cPanel → Security → SSL/TLS Status.
  2. Find the domain and read the status text or the warning icon next to it.
  3. Click View log or the latest AutoSSL log to see the error.
  4. Fix the cause (see the table), then select the domain and click Run AutoSSL.
Log message mentionsCauseFix
DNS does not resolve to this serverDomain or www points elsewhereUpdate the A record or nameservers
DCV failed / HTTP validationValidation file blocked by .htaccess, a redirect or a firewallAllow /.well-known/ and remove broken redirects
CAA record forbidsA CAA DNS record allows only another CAAdd the AutoSSL provider to CAA or remove the record
ExcludedDomain excluded from AutoSSLInclude it again in SSL/TLS Status
Rate limitToo many requests recentlyWait and run again later
  1. Renew the certificate with your certificate authority. Most CAs ask for a new CSR: generate one in cPanel → Security → SSL/TLS → Certificate Signing Requests.
  2. Complete validation again.
  3. Install the new certificate in cPanel → Security → SSL/TLS → Manage SSL sites, using Autofill by Certificate, and click Install Certificate.
  4. Check the expiry date shown after installation.

Need the site secure immediately while you wait for the CA? Remove the expired certificate in Manage SSL sites and run AutoSSL; a free certificate is issued within minutes if DNS points to the server. Install the paid one when it arrives.

Check the result

  • Open the site in a private window and check the certificate's Valid to date.
  • Test both example.com and www.example.com, plus mail.example.com if you use it in email clients.
  • Run an external SSL checker to confirm the chain.

Prevent it next time

  • Keep DNS pointing to MdmHost for every hostname you want covered; most AutoSSL failures are DNS changes made elsewhere.
  • Avoid redirect rules that send /.well-known/ requests to another domain.
  • Make sure the contact email in cPanel (Preferences → Contact Information) is current and that notifications for AutoSSL are enabled, so you hear about failures early.
  • For paid certificates, set a calendar reminder 30 days before expiry, or use an uptime monitor that checks certificate expiry.

Troubleshooting

  • New certificate installed but browsers still show the old one: clear the browser cache, or a CDN such as Cloudflare is serving its own certificate; check its SSL settings.
  • Only some visitors see the error: their device's clock is wrong, or an old Android device does not trust the current root; this is on the visitor's side.
  • Webmail or cPanel login shows an expired certificate: the server hostname certificate is a separate one; contact support.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.