How to fix ssl cert expiring soon on Magento Open Source

Renew your SSL/TLS certificate before it expires to keep your store secure, trusted, and visible in search results.

Steps for Magento Open Source

  1. SSL is managed at the web server / hosting level (Apache, Nginx, cPanel, Plesk, etc.) — not within Magento itself.
  2. Renew via your hosting control panel or by running 'certbot renew' on the server if using Let's Encrypt.
  3. After renewal, verify in Admin → Stores → Configuration → General → Web → Base URLs (Secure) that all URLs use https://.
  4. Flush Magento cache: Admin → System → Cache Management → Flush Magento Cache, or run 'bin/magento cache:flush' via CLI.
Official Magento Open Source documentation ↗

What is ssl cert expiring soon?

An SSL/TLS certificate is the digital credential that proves your website is who it says it is and encrypts the connection between your store and your customers' browsers — it's what puts the padlock icon and "https://" in the address bar. Every certificate has an expiry date, after which browsers will show a full-screen red warning ("Your connection is not private") to anyone who tries to visit your site. Renewing means getting a fresh certificate installed before the old one runs out. Most certificates last 90 days to 1 year, and renewal should be started at least 30 days before expiry to allow time for any issues.

When your certificate expires, every major browser — Chrome, Safari, Firefox, Edge — will block visitors with a hard security warning before they even see your store. This instantly destroys trust and conversions: most shoppers will leave and never return. Google also uses HTTPS as a ranking signal, so an expired certificate can hurt your organic search visibility. If you collect any customer data (names, emails, payment info), operating without a valid certificate exposes that data to interception and puts you at legal risk under privacy regulations such as GDPR and PCI-DSS. Even a single day of expiry can cause lasting damage to your brand reputation.

See the complete Ssl cert expiring soon guide for every platform and the full background.

Not sure if your Magento Open Source store has this?

Run a free SEOLZ audit — we’ll find ssl cert expiring soon and every other issue across your whole site.

Scan my site free

Fix ssl cert expiring soon on another platform