You should make sure you have a SSL certificate installed for your domain. If you do not have a dedicated SSL installed, this configuration will cause issues with accessing your OpenCart dashboard and the login/checkout pages of your store. Most payment processors such as Authorize.net will require you to purchase a SSL. You may want to purchase and install one prior to fully setting up your shopping cart.
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 Dashboard
- Log into the OpenCart Dashboard
- Go to System > Settings
- Click on the Server tab
- Check the radio button to use SSL
Enabling SSL in the OpenCart directory config.php file
- Log into cPanel and go to File Manager
- Navigate to your OpenCart installation directory
- Open (Edit or Code Editor) the configuration file (config.php)
- Look for the lines below // HTTPS that looks similar to this:
define(‘HTTPS_SERVER’, ‘http://opencart.inmotiontesting.com/’);
define(‘HTTPS_IMAGE’, ‘http://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 Admin folder config.php file
- Go to the “Admin” folder
- Open (Edit or Code Editor) the configuration file (config.php)
- Look for the lines below // HTTPS that looks similar to this:
define(‘HTTPS_SERVER’, ‘http://opencart.inmotiontesting.com/’);
define(‘HTTPS_IMAGE’, ‘http://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

