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 2: Under General Menu, click on web
- Step 3: The settings page will display
- Step 4: Select Base URLs (Secure) on the settings page
- Step 5: Click on Save config to save the settings process
Step 1: Navigate to Stores > Configuration{#step-1-navigate-to-store-configuration}
Step 2: Under General Menu, click on Web

Step 3: The settings page will be displayed

Step 4: Select Base URLs (Secure) on the settings page
Edit the Secure Base URL field by changing http:// to https://

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

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:
Vanessa
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.Recent Tutorials
Magento 2 get customer address custom attribute value
How to Install Magento Extension via Composer
Comments for How to enable SSL Certificate
People also searched for
- magento 2 https
- magento 2 ssl
- magento 2 enable ssl
- magento 2 ssl certificate
- enable ssl magento 2
- magento 2 enable ssl command line
- how to enable ssl in magento 2
- magento enable ssl
- magento secure checkout
- magento 2 force https
- magento 2 disable https
- magento disable ssl
- magento 2 use secure urls on storefront
- use secure urls on storefront
- install ssl certificate magento
- magento ssl
- magento ssl certificate
- magento install ssl certificate
- magento https
- magento disable https
- magento 2 force ssl
- magento force https
- how to enable ssl
- m2 upgrade site to magento 2
- magento 2 secure url
- force https magento
- magento https not working
- magento 2 redirect http to https
- magento 2 certificate
- magento 2 disable ssl
- magento certificate
- magento force ssl
- 2.2.x, 2.3.x
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!