Knowledgebase

How to run SSL in the osCommerce?  Print this Article

In order to activate a secure connection to the website based on osCommerce, make the changes to the file includes/configure.php.

Use a text editor (e.g. Notepad) to change the value of the parameters:

  • HTTPS_SERVER from http:// to https://
  • ENABLE_SSL from false to true


<?php

  define('HTTPS_SERVER', 'https://www.sslguru.com');
  define('ENABLE_SSL', true);

?>


In order to activate a secure connection to the admin panel, make the changes to the file admin/includes/configure.php.

Use a text editor (e.g. Notepad) to change the value of the parameters:

  • HTTP_SERVER
  • HTTP_CATALOG_SERVER
  • HTTPS_CATALOG_SERVER

from http:// to https://

and

  • ENABLE_SSL_CATALOG

from false to true

    <?php

      define('HTTP_SERVER', 'https://www.sslguru.com');
      define('HTTP_CATALOG_SERVER', 'https://www.sslguru.com');
      define('HTTPS_CATALOG_SERVER', 'https://www.sslguru.com');
      define('ENABLE_SSL_CATALOG', true);

    ?>

Was this answer helpful?

Related Articles

SSL Installations
SSL installation depends on the type of server you are securing. Please select below the server...
Apache (with mod_ssl)
Installing SSL certificate on Apache with mod_ssl To install certificate you need 2...
Apple Mac OS X Server
Log in to admin server as a root. Create a folder /etc/httpd/ssl.crt/ (if it does not exist)....
Barracuda VPN server
Installing SSL certificate on Barracuda VPN serverImport CertificatesFrom the appliance web...
Cisco ACS Server
Note: If the domain/site certificate is created using CA certificate, you need to repeat steps...