Zen Cart Logo
Forums / Installing on a Linux/Unix Server / confused about ssl configuration

confused about ssl configuration

Locked

Views: 1,965

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Nov 2007, 10:24 PM
#1
24jedi avatar

24jedi

New Zenner

Join Date:
Mar 2006
Posts:
13
Plugin Contributions:
0

confused about ssl configuration

Help needed with ssl configuration

I have a SSL certificate which is mapped to "hobbyhillfarm.com" NOT "www.hobbyhillfarm.com"
My cart is access from http://www.hobbyhillfarm.com/cart/
When trying to checkout, the cart does not change to https (ssl)
To see what I'm talking about, I setup a test category with a widget for sale.
SSL does work for the site.

cut-n-paste from /cart/includes/configure.php
// Define the webserver and path parameters
  // Main webserver: eg, http://localhost - should not be empty for productive servers
  define('HTTP_SERVER', 'http://www.hobbyhillfarm.com');

  // Secure webserver: eg, https://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://hobbyhillfarm.com');
  // secure webserver for checkout procedure?
  define('ENABLE_SSL', 'TRUE');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
  // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
  define('DIR_WS_CATALOG', '/cart/');
  define('DIR_WS_HTTPS_CATALOG', '/cart/');
cut-n-paste from /cart/admin/includes/configure.php

// Define the webserver and path parameters
  // Main webserver: eg, http://localhost - should not be empty for productive servers
  define('HTTP_SERVER', 'http://www.hobbyhillfarm.com');
  // Secure webserver: eg, https://localhost - should not be empty for productive servers
  define('HTTPS_SERVER', 'https://hobbyhillfarm.com'); // eg, https://localhost


  define('HTTP_CATALOG_SERVER', 'http://www.hobbyhillfarm.com');
  define('HTTPS_CATALOG_SERVER', 'https://hobbyhillfarm.com');
  define('ENABLE_SSL', 'TRUE');

  // secure webserver for catalog module and/or admin areas?
  define('ENABLE_SSL_CATALOG', 'TRUE');
  define('ENABLE_SSL_ADMIN', 'TRUE');
19 Nov 2007, 10:31 PM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: confused about ssl configuration

this

define('ENABLE_SSL', 'TRUE');

needs to be

define('ENABLE_SSL', 'true');

Zen cart PCI compliant Hosting

19 Nov 2007, 10:51 PM
#3
24jedi avatar

24jedi

New Zenner

Join Date:
Mar 2006
Posts:
13
Plugin Contributions:
0

Re: confused about ssl configuration

Thank you so much.
I have spent all day pulling my hair out looking at this :D