How to Enable SSL Connection in OpenCart 1.5 InMotion Hosting ContributorUpdated on December 22, 2023 2 Minute Read For most eCommerce websites, it is recommended to ensure that you have an SSL certificate installed for your domain. If you do not have a dedicated SSL installed properly, you may experience issues accessing your OpenCart 1.5 dashboard and the login/checkout pages of your store. Additionally, most payment processors such as Authorize.net will require you to purchase an SSL. You may want to purchase and install one prior to fully setting up your shopping cart. Enabling SSL in the OpenCart DashboardEnabling SSL in the OpenCart config.php fileEnabling SSL in the OpenCart Admin config.php file Please see our tutorials if you need more information on what a SSL is and how to purchase one. Please keep in mind OpenCart does not support the use of the shared SSL certificate. To enable SSL in OpenCart, there are three areas to edit: The System Settings in the OpenCart Dashboard, the config.php file in the directory where you installed OpenCart, and the config.php file in your OpenCart Admin folder. Enabling SSL in the OpenCart 1.5 Dashboard Log into the OpenCart DashboardGo to System > SettingsClick on the Server tabCheck the radio button to use SSL Enabling SSL in the OpenCart 1.5 config.php file Log into cPanel and go to File ManagerNavigate to your OpenCart installation directoryOpen (Edit or Code Editor) the configuration file (config.php)Look for the lines below // HTTPS that looks similar to this:define('HTTPS_SERVER', 'https://opencart.inmotiontesting.com/');define('HTTPS_IMAGE', 'https://opencart.inmotiontesting.com/image/');Edit the HTTPS settings to reflect your SSL URL path. For example: define('HTTPS_SERVER', 'https://opencart.inmotiontesting.com/');define('HTTPS_IMAGE', 'https://opencart.inmotiontesting.com/image/');Save changes and close the config.php file Enabling SSL in the OpenCart 1.5 Admin config.php file Go to the Admin folderOpen (Edit or Code Editor) the configuration file (config.php)Look for the lines below // HTTPS that looks similar to this:define('HTTPS_SERVER', 'https://opencart.inmotiontesting.com/admin/');define('HTTPS_CATALOG', 'https://opencart.inmotiontesting.com/');define('HTTPS_IMAGE', 'https://opencart.inmotiontesting.com/image/');Edit the HTTPS settings to reflect your SSL URL path. For example: define('HTTPS_SERVER', 'https://opencart.inmotiontesting.com/admin/');define('HTTPS_CATALOG', 'https://opencart.inmotiontesting.com/');define('HTTPS_IMAGE', 'https://opencart.inmotiontesting.com/image/');Save changes and close the config.php file Now, anytime you login to your dashboard or a visitor purchases a product it will force the SSL for security purposes. If you need further assistance please feel free to ask a question on our support center. Share this Article InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles Editing the Information Pages in the Footer of OpenCart My OpenCart 3 Contact Form Won’t Send Emails Resetting your OpenCart Admin Password with the Forgot Password link Using Free Cloudflare for SSL on OpenCart 1.5 Adding your store logo to your OpenCart 1.5 website Changing your Admin Password in OpenCart 1.5 Restoring a Database Backup in OpenCart 1.5 Sending Emails to Customers through OpenCart 1.5 How to Enable SSL Connection in OpenCart 1.5 Creating a 404 error page for OpenCart