# Enabling SSL for PrestaShop

> Secure your PrestaShop store with HTTPS by installing an SSL certificate, enabling SSL in the admin panel and fixing mixed content.

Source: https://helpcenter.ruachost.com/apps/prestashop/enabling-ssl-for-prestashop/

Securing your PrestaShop store with **SSL (Secure Sockets Layer)** ensures that customer data and transactions are encrypted. On **ruachost.com**, you can enable SSL once you have a valid certificate installed.

## Why Enable SSL?

- Protects sensitive customer information (logins, payments, personal data).
- Prevents browser “Not Secure” warnings.
- Improves customer trust and confidence.
- Boosts SEO rankings (Google favors HTTPS sites).

## Steps to Enable SSL in PrestaShop

### Step 1: Install an SSL Certificate

- Purchase an SSL certificate from Ruachost or use the free **cPanel SSL** option.
- Verify that your domain resolves correctly with `https://`.

### Step 2: Enable SSL in PrestaShop

1. Log in to PrestaShop as the **administrator**.
2. On the left sidebar, click **Preferences → General**.
3. Next to **Enable SSL**, click the link *“Please click here to check if your shop supports HTTPS”*.

   - If the test succeeds, the **Enable SSL** field will display **YES/NO** options.
   - If you see a warning, your SSL certificate may not be installed or configured correctly.
4. To enable SSL for customer logins and order processing, set **Enable SSL** to **Yes**.
5. To enable SSL for **all pages**, set **Enable SSL on all pages** to **Yes**.
6. Click **Save**.

✅ Your PrestaShop site now runs securely over HTTPS.

### Step 3: Resolve Mixed Content Warnings

- After enabling SSL, you may see browser warnings about insecure content.
- This happens when a secure page loads resources via `http://` instead of `https://`.
- Common causes: custom themes or modules.
- Update resource URLs to use HTTPS to eliminate warnings.

## Important Notes

- Always back up your site before making configuration changes.
- Use a certificate from a recognized Certificate Authority for best results.
- cPanel SSL is supported for all new **ruachost.com** accounts and is recognized by modern browsers.
