How to activate SSL in opencart 1.5.6.1

If we are having and SSL certificate then we need to create SSL connection on web server. Let us activate SSL in opencart 1.5.6.1 . Opencart provides an admin interface to activate the SSL connection.

So Open Opencart admin panel by valid login credentials and let us do some settings on opencart admin interface.

  • You will get System menu in admin panel
  • Under system -> Click on settings tab
  • All Stores will be opened
  • Press edit link for specific store
  • Go to Server tab
  • Activate SSL

Now check your website and you may lose look of website as Secured website is trying to access multiple files which are not secured.

check your admin and you may lose admin panel look as Secured website is trying to access multiple files again which are not secured.

Lets make website part user friendly follow below steps

  • Now we need to edit files from hosted opencart folder.
  • Open Cpanel and login with valid credentials
  • Click on File Manager
  • Go to domain folder
  • Open Config file and change http to https( Before change please take the backup of original file )
  • Search for below line
  • define(‘HTTPS_SERVER’, ‘http://<yourdomain>/’);

and change it to

define(‘HTTPS_SERVER’, ‘https://<yourdomain>/’);

  • Save the config file

Lets make admin part user friendly now . Follow below steps

  • Now we need to edit admin folder files from hosted opencart folder.
  • Open Cpanel and login with valid credentials
  • Click on File Manager
  • Go to domain folder
  • Go to admin folder
  • Open Config file and change http to https ( Before change please take the backup of original file )
  • Search for below line

// HTTPS
define(‘HTTPS_SERVER’, ‘http://<domainname>/admin/’);
define(‘HTTPS_CATALOG’, ‘http://<domainname>/’);

and change it to

// HTTPS
define(‘HTTPS_SERVER’, ‘https://<domainname>/admin/’);
define(‘HTTPS_CATALOG’, ‘https://<domainname>/’);

  • Save the config file

Check your admin panel It will work fine now

 

* The Content stated above is for informational purpose only. Expert Software Team is not responsible if any part of content found meaningless in any manner or condition.