How to fix ssl error on PrestaShop
Replace or reissue your SSL/TLS certificate so it is valid for the exact domain name your store uses, eliminating the hostname mismatch error.
Steps for PrestaShop
- SSL is managed at the hosting layer for self-hosted PrestaShop installations.
- Log in to your hosting control panel and issue or re-issue an SSL certificate (Let's Encrypt recommended) covering yourstore.com and www.yourstore.com.
- In PrestaShop Admin → Shop Parameters → General, enable 'SSL' and 'Force SSL on all pages'.
- Ensure 'Shop domain' and 'SSL domain' fields (Admin → Configure → Shop Parameters → General → Set Shop URL) exactly match the domain on the certificate.
- Clear PrestaShop cache: Admin → Advanced Parameters → Performance → Clear cache.
What is ssl error?
Every HTTPS website uses an SSL/TLS certificate to prove its identity to browsers and to encrypt the connection. The certificate must explicitly list the domain name (or names) it is allowed to protect. A "hostname mismatch" error means the certificate installed on your server was issued for a different domain than the one visitors are actually trying to reach — for example, the certificate covers "www.yourstore.com" but not "yourstore.com" (or vice versa), or it was issued for a completely different domain altogether. Browsers and security scanners treat this as a critical failure and refuse to establish a trusted connection.
When a hostname mismatch exists, most modern browsers display a full-page "Your connection is not private" warning before visitors can even see your store. This kills conversions — the majority of shoppers will leave immediately rather than click through a security warning. Google also uses HTTPS as a ranking signal and can demote or omit pages it cannot crawl securely. Beyond lost sales and rankings, transmitting payment and personal data over an untrusted connection is a serious security risk and may violate PCI DSS compliance requirements for accepting card payments. This maps directly to OWASP A02:2021 — Cryptographic Failures.
See the complete Ssl error guide for every platform and the full background.
Not sure if your PrestaShop store has this?
Run a free SEOLZ audit — we’ll find ssl error and every other issue across your whole site.
Scan my site free