How to enable SSL Certificate in Magento 2

Vanessa Updated: July 10, 2020


How to enable SSL Certificate in Magento 2

If you are an e-commerce provider, you should use SSL Certificate to protect the data and transactions for customers. This article will guide you how to enable SSL in Magento 2 step by step.

The SSL Certificate stands for Secure Sockets Layer, which is an important upgrade to your site to make sure that all data goes through a secure connection between the server and the website. When your customers sign up on your site and provide their credit card information or personal details, the SSL certificate takes responsibility for keeping them in safe. As a result, buyers will feel more secure shopping on your online store, hence this increases the conversion rate.

After you have installed SSL Certificate in your domain, you need to enable it for your Magento 2 store. Follow these steps below to enable SSL:

To enable SSL in Magento 2, following 5 steps

Step 1: Navigate to Stores > Configuration{#step-1-navigate-to-store-configuration}

Step 2: Under General Menu, click on Web

How to enable SSL in Magento 2

Step 3: The settings page will be displayed

How to enable SSL in Magento 2

Step 4: Select Base URLs (Secure) on the settings page

Edit the Secure Base URL field by changing http:// to https://

How to enable SSL in Magento 2

  • In the Use Secure URLS in Storefront: To make all storefront pages accessible only by https:// or SSL Certificate, select yes option to enable it.
  • In the Use Secure URLs on Admin: To make the administration interface accessible only by https:// or SSL, select yes from the drop-down.

How to enable SSL in Magento 2 - Mageplaza

Step 5: Click on Save config to save the settings process

Only with the above several simple steps, your Magento 2 store is configured to use your SSL certificate.

Some related posts:

Abandoned cart email.
avada email marketing

Vanessa is content marketing at Mageplaza. Vanessa is a content marketing creator at Mageplaza. As an ordinary customer, already had a special interest in online shopping, and up to now, has spent more than two years discovering online distribution channels as well as E-commerce platforms.

Comments for How to enable SSL Certificate

Explore Our Products:

People also searched for


Stay in the know

Get special offers on the latest news from Mageplaza.

Earn $10 in reward now!

Earn $10 in reward now!

go up