How to enable SSL for Magento

This article describes how to enable SSL for a Magento site. As an e-commerce provider, you should use SSL to help protect customer data and transactions.

This article assumes that you already have a valid, functioning SSL certificate installed on your web site. If you do not have an SSL certificate for your site yet, please see our SSL certificate options or use Sectigo certificates available with most accounts.

Enabling SSL for Magento

Use one of the following procedures for your version of Magento.

Magento 2

To enable SSL for Magento 2, follow these steps:

  1. Log in to Magento as the administrator.
  2. On the left sidebar, click STORES, and then click Configuration.
  3. Under GENERAL, click Web.
  4. Click Base URLs (Secure).
  5. To make all storefront pages accessible only when using SSL, in the Use Secure URLs on Storefront list box, select Yes.
    By default, Magento uses SSL for all pages where customers must submit sensitive information (for example, registration and login pages). When this option is enabled, SSL is required for all store pages.
  6. To make the administration interface accessible only when using SSL, in the Use Secure URLs in Admin list box, select Yes.
    For enhanced security, A2 Hosting strongly recommends that you require SSL for the administration interface.
  7. Click Save Config. SSL is now enabled for Magento.
Magento 1.9

To enable SSL for Magento 1.9, follow these steps:

  1. Log in to Magento as the administrator.
  2. On the top menubar, click System, and then click Configuration.
  3. On the left sidebar, under GENERAL, click Web.
  4. Click Secure.
  5. To make all storefront pages accessible only when using SSL, in the Use Secure URLs in Frontend list box, select Yes.
    By default, Magento uses SSL for all pages where customers must submit sensitive information (for example, registration and login pages). When this option is enabled, SSL is required for all store pages.
  6. To make the administration interface accessible only when using SSL, in the Use Secure URLs in Admin list box, select Yes.
    For enhanced security, A2 Hosting strongly recommends that you require SSL for the administration interface.
  7. Click Save Config. SSL is now enabled for Magento.

Using Sectigo with Magento

Using an SSL certificate from a recognized Certificate Authority is recommended for the best results when enabling SSL for Magento. Sectigo is a free, automated, and open certificate authority and is recognized by most modern browsers. Sectigo is supported for all new A2 Hosting accounts and certificates may even be generated automatically for immediate use. For details regarding Sectigo or Let's Encrypt for your account type, please see Related Articles.

Please note that A2 Hosting, in order to provide consistent and reliable user experience, is switching from Let’s Encrypt to Sectigo for all newly provisioned accounts. Existing accounts will also make the change to Sectigo certificates sometime in the near future. The certificates are equal in terms of trust level, validity, and how they are used. You should see no impact on your site, and the only difference is that the padlock in your browser will now say “cPanel Cert Issued by Sectigo” instead of “Let’s Encrypt."

More Information

To view the official Magento documentation, please visit https://magento.com/help/documentation.

Get Magento Hosting

Article Details

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.