How to Replace an Expired SSL Certificate Fast
Confirm the SSL certificate is really expired
Check the date first so you fix the right thing. Run the Live SSL Checker or:
echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null \
| openssl x509 -noout -datesIf the date is in the past, continue. If it is still valid, the error is something else, such as a wrong hostname or a missing intermediate.
Replace the expired SSL certificate step by step
- Issue a new certificate for the same names at TryFreeSSL or with your ACME client. For a paid certificate, reissue from your CA account.
- Download the certificate, the private key and the CA bundle. Use the key that matches the new certificate.
- Combine the certificate and the bundle into one chain file where your server expects it.
- Replace the files on the server. Keep copies of the old ones until the new setup works.
- Test the configuration, then reload the service.
- Verify with the Live SSL Checker.
Install snippets
Nginx:
ssl_certificate /etc/ssl/example/fullchain.pem;
ssl_certificate_key /etc/ssl/example/private.key;
# then
nginx -t && systemctl reload nginxApache:
SSLCertificateFile /etc/ssl/example/certificate.crt
SSLCertificateKeyFile /etc/ssl/example/private.key
SSLCertificateChainFile /etc/ssl/example/ca_bundle.crt
# then
apachectl configtest && systemctl reload apache2On IIS, import a PFX in the certificate store and rebind it to the site. Use the SSL Converter if you need that format. On shared hosting, paste the new files in the panel's SSL tool.
Still showing the old certificate?
| Reason | Fix |
|---|---|
| Server was not reloaded | Reload or restart the service |
| A proxy or load balancer holds its own copy | Update it as well |
| CDN edge certificate is separate | Check the CDN dashboard |
| Wrong virtual host updated | Check which server block answers for the name |
| Browser cache | Test in a private window or with curl |
After the fix
- Check the whole chain: a missing intermediate causes errors on some devices.
- Check HTTPS redirects and headers in the Security Headers Checker.
- Set an alert while a third of the lifetime is left, which is 30 days on a 90-day certificate and 15 days on a 45-day one, plus a second alert closer to the date.
- Move to automatic renewal if you can.
Write down what happened
Note how the certificate expired: missed reminder, failed automation or an owner who left. A short note on the cause and the fix lets the next person act quickly. Store the install steps in a runbook, including where each certificate lives, so renewal does not depend on one person's memory.
Related reading: what a leaked key means and fixing Cloudflare 525.
Frequently Asked Questions
How long does replacement take?
Usually a few minutes once the new certificate is issued, plus time for validation.
Can I reuse the old private key?
You can, but generating a new key at each renewal is better practice.
Will visitors need to do anything?
No. They only need to reload the page once the new certificate is live.
Why do some users still see an error?
Cached pages or a CDN edge may serve the old certificate for a short time. Test again after the cache expires.
How long does replacement take?
Usually a few minutes once the new certificate is issued, plus time for validation.
Can I reuse the old private key?
You can, but generating a new key at each renewal is better practice.
Will visitors need to do anything?
No. They only need to reload the page once the new certificate is live.
Why do some users still see an error?
Cached pages or a CDN edge may serve the old certificate for a short time. Test again after the cache expires.
Will a new certificate fix a name mismatch?
Only if it lists the right names. A mismatch is a coverage problem, not an expiry problem, so check the SAN list when you reissue.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.