Web Hosting Line
1.800.828.9231
Zen cart hosting
ZenCart Tutorial
ZenCart Templates
ZenCart FAQ
About Zen cart
Template Monster and SiteGround
Template Monster, the largest provider of Zen Cart templates, now partners with SiteGround.
Host Package
Free Domain name
750 GB space
7500 GB Traffic/mo
Ecommerce pack
99.9% Server Uptime
24/7 Top Customer Care
Immediate activation
The Best Host Package
learn more sign up now
Try Doba drop shipping services:
Useful Zen Cart Resources:
Display entire tutorial on one page. Print-friendly version.

Setting up SSL protection for your shop

The set up procedure varies, depending on whether you have your own certificate, or are using the shared one of your hosting server. The process requires you to change the following files by hand:

includes/ configure.php
admin/ includes/ configure.php

It is important to note that in case you are using word processing software, additional symbols will be added to your files, causing malfunction of your shop. To avoid this, please use simple text editors, such as Notepad.

Using a certificate for the specific domain name (your own private SSL certificate)

For the new configuration settings to be applied, you need to change either listed files. To do that, please find the files, listed above, and open them with a simple text editor. Locate the following lines of code:

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.yourdomain.com');
define('HTTPS_SERVER', 'https://(www.)yourdomain.com');
define('ENABLE_SSL', false); // secure webserver for checkout procedure?

Set your domain name in the appropriate slots, and replace false in the last row with true. Again, whether you place www. in front of your domain name depends on the certificate you have purchased. SSL certificate can be purchased for "yourdomain.com" or for "www.yourdomain.com"

Using a shared SSL certificate

Again, you need to open the files with a text editor. Change

includes/configure.php and
admin/includes/configure.php

to:

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.YOUR_SHOP.com');
define('HTTPS_SERVER', 'https://server.IP.address.here/~YOUR_USERNAME');
define('ENABLE_SSL', true); // secure webserver for checkout procedure?

Disabling SSL usage

Locate the files

includes/configure.php
admin/includes/configure.php

and in the code segment

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.YOUR_SHOP.com');
define('HTTPS_SERVER', 'https://www.YOUR_SHOP.com');
define('ENABLE_SSL', true); // secure webserver for checkout procedure?

change the word true to false. That would be enough to turn the encryption off for your store.



ZenCart hosting
(c) Copyright 2005 SiteGround Business Web Hosting Services. All rights reserved.
Previous Next