If you are an e-commerce provider, you should use SSL 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 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 or personal details, the SSL certificate takes responsibility for keeping them in a safe environment. From this reason, the customers will be more confident in your business, so the traffics will also increase significantly.
After you have installed SSL in your domain, you need to enable it for your Magento 2 store. Let us learn how to enable SSL:
General Menu, click on
Base URLs (Secure)on the settings page
Edit the Secure Base URL field by changing http:// to https://
Use Secure URLS in Storefront: To make all storefront pages accessible only by https:// or SSL, select yes option to enable it.
Use Secure URLs on Admin: To make the administration interface accessible only by https:// or SSL, select yes from the drop-down.
Save configto save the settings process
Only with several simple steps, your Magento 2 store is configured to use your SSL certificate.
It comes to the end of tutorial: How to enable SSL in Magento 2.