How to Enable SSL Protection in Magento 2

How to Enable SSL Protection in Magento 2

Liam Firth

When it comes to making purchases online, any site that does not have SSL protection should be considered a red flag. If you are unfamiliar with SSL protection, then this is simply how eCommerce sites keep customers protected when they are visiting their site. SSL protection will ensure the security of customers signing up, entering personal information and using their credit card. This is all done by encrypting the data.

Google takes the issue of SSL protection extremely seriously. It has become so serious, in fact, that Google now includes in this in its ranking factors. What’s more, SSL protection is now the industry standard amongst eCommerce sites. When eCommerce sites transform into HTTPS, their credibility is improved amongst customers and this should result in more sales.

The Magento 2 eCommerce package provides you with a quick and safe hosting environment. Below, you can find out how to enable SSL protection in your Magento 2 site.

SSL Certificates and Magento

For the greatest outcome when enabling SSL for Magento, you will need an SSL certificate provided by a recognised Certificate Authority. One of the most popular ones is ‘Let’s Encrypt.’ This is a free, automatic and open certificate authority. It is also widely recognised by most modern browsers. This SSL provider is provided for the public’s benefit and is provided by the Internet Security Research Group. This is sponsored by many reputable companies.

Enabling SSL Protection in Magento 2 Step by Step

If you are unsure about how to enable SSL protection in Magento, there is no need to fret. We have created a step by step guide for you to follow which will get SSL integrated in no time at all. This guide is assuming that you have a valid, functioning SSL certificate already installed on your website.

When enabling SSL protection in Magento 2, the first thing that you will have to do is log in to Magento as the administrator. You will then notice ‘STORES’ on the bar to the left hand side. Click on this and then click on ‘CONFIGURATION.’ You will then see the word ‘GENERAL.’ Click on this and then choose ‘WEB.’ The next button you will have to click on is ‘BASE URLs (SECURE).’ To ensure all storefront pages are available just when using SSL, you will need to visit Use Secure URLs on Storefront list box. Then click ‘YES.’

When customers have to submit sensitive information such as registration or log in pages. Magento will automatically use SSL protection. SSL protection is required for all store pages when this option is enabled.

In the Use Secure URLs in Admin list box, you will need to select ‘YES.’ This will make the administration interface accessible only when enabling SSL protection. If you are looking for improved security, we would suggest using SSL for the administration interface.

Finally, you will have to click on ‘Save Config.’ This will now enable SSL protection for Magento.

Liam Firth

Author Liam Firth

More posts by Liam Firth