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:- Log in to Magento as the administrator.
- On the left sidebar, click STORES, and then click Configuration.
- Under GENERAL, click Web.
- Click Base URLs (Secure).
-
To make all storefront pages accessible only when using SSL, in the Use Secure URLs on Storefront list box, select Yes.
📘 Note 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. -
To make the administration interface accessible only when using SSL, in the Use Secure URLs in Admin list box, select Yes.
🚧 Important For enhanced security, hosting.com strongly recommends that you require SSL for the administration interface.
- Click Save Config. SSL is now enabled for Magento.
Magento 1.9
To enable SSL for Magento 1.9, follow these steps:- Log in to Magento as the administrator.
- On the top menubar, click System, and then click Configuration.
- On the left sidebar, under GENERAL, click Web.
- Click Secure.
-
To make all storefront pages accessible only when using SSL, in the Use Secure URLs in Frontend list box, select Yes.
📘 Note 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. -
To make the administration interface accessible only when using SSL, in the Use Secure URLs in Admin list box, select Yes.
🚧 Important For enhanced security, hosting.com strongly recommends that you require SSL for the administration interface.
- Click Save Config. SSL is now enabled for Magento.
Using cPanel SSL with Magento
Using an SSL certificate from a recognized Certificate Authority is recommended for the best results when enabling SSL for Magento. cPanel SSL is a free, automated, and open certificate authority and is recognized by most modern browsers. cPanel SSL is supported for all new hosting.com accounts and certificates can be generated automatically for immediate use. For more information about cPanel SSL, please see the Related Articles section.More information
To view the official Magento documentation, please visit https://magento.com/help/documentation.Related articles
- Introduction to SSL
- Optimizing Magento
- Securing a cPanel-enabled account with a Let’s Encrypt SSL certificate
- Securing an unmanaged server with a Let’s Encrypt SSL certificate
- Differences between Let’s Encrypt certificates and traditional CA-issued certificates
- Generating and renewing Let’s Encrypt SSL certificates in Plesk