Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Trying to get SSL to work


styledata

Recommended Posts

I know this is talked about a lot and I have read many threads on it, but still having trouble. Trying to get SSL to work. When I try to go to the cart I get this error: https://www.religiouskeepsakes.com/catalog/...ut_shipping.php .

Likewise, if I try to add an account, I get this error: https://www.religiouskeepsakes.com/catalog/...ate_account.php .

Below is my config file. Have I missed something?? Thanks in advance for any help.

 

Apache server through APlus.net:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.religiouskeepsakes.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.religiouskeepsakes.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.religiouskeepsakes.com');

define('HTTPS_COOKIE_DOMAIN', 'www.religiouskeepsakes.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

Give us your best shot!

PhotoImprints.com

Link to comment
Share on other sites

I know this is talked about a lot and I have read many threads on it, but still having trouble. Trying to get SSL to work. When I try to go to the cart I get this error: https://www.religiouskeepsakes.com/catalog/...ut_shipping.php .

Likewise, if I try to add an account, I get this error: https://www.religiouskeepsakes.com/catalog/...ate_account.php .

Below is my config file. Have I missed something?? Thanks in advance for any help.

 

Apache server through APlus.net:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

  define('HTTP_SERVER', 'http://www.religiouskeepsakes.com'); // eg, http://localhost - should not be empty for productive servers

  define('HTTPS_SERVER', 'https://www.religiouskeepsakes.com'); // eg, https://localhost - should not be empty for productive servers

  define('ENABLE_SSL', true); // secure webserver for checkout procedure?

  define('HTTP_COOKIE_DOMAIN', 'www.religiouskeepsakes.com');

  define('HTTPS_COOKIE_DOMAIN', 'www.religiouskeepsakes.com');

  define('HTTP_COOKIE_PATH', '/catalog/');

  define('HTTPS_COOKIE_PATH', '/catalog/');

  define('DIR_WS_HTTP_CATALOG', '/catalog/');

  define('DIR_WS_HTTPS_CATALOG', '/catalog/');

  define('DIR_WS_IMAGES', 'images/');

 

remove the www from the https paths - ssl certs protect domains NOT url's

 

hth

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

remove the www from the https paths - ssl certs protect domains NOT url's

 

hth

Charles

 

Thanks, I tried that via these two ways:

define('HTTPS_SERVER', 'religiouskeepsakes.com');

and

define('HTTPS_SERVER', 'https://religiouskeepsakes.com');

 

There was no change, the pages still were not found.

Anything else I'm missing?

thanks

Give us your best shot!

PhotoImprints.com

Link to comment
Share on other sites

Thanks, I tried that via these two ways:

define('HTTPS_SERVER', 'religiouskeepsakes.com');

and

define('HTTPS_SERVER', 'https://religiouskeepsakes.com');

 

There was no change, the pages still were not found.

Anything else I'm missing?

thanks

 

 

This is what my configure.php looks like for my test shop

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.simplyeasier.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://simplyeasier.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.simplyeasier.com');

define('HTTPS_COOKIE_DOMAIN', 'simplyeasier.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

 

The error you posted is often caused by the browser asking for confirmation from the server that the site is secure - if the browser asks for security clearance on a name that is not on the cert - the result is the error you have.

 

If changing your config as above does not resolve things - you need to go back to your cert and find out what name it has been issued in and work back from ther.

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...