Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help with SSL


Guest

Recommended Posts

Posted

Hi

 

I am trying to set up my ssl on my site. But now each time I try to click on any of the secure links (my account, checkout etc.) i get "The connection to miniaturesbymail.co.uk has terminated unexpectedly. Some data may have been transferred."

 

I have changed my 2 configure files as follows:

 

catalog/includes/configure.php

// Define the webserver and path parameters

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

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

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

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

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

define('HTTP_COOKIE_DOMAIN', 'www.miniaturesbymail.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'miniaturesbymail.co.uk');

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

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

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

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

 

 

admin/includes/configure.php

// Define the webserver and path parameters

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

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

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

define('HTTP_CATALOG_SERVER', 'http://www.miniaturesbymail.co.uk');

define('HTTPS_CATALOG_SERVER', 'https://miniaturesbymail.co.uk');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

USE PCONNECT is set to false on both.

 

Any ideas?

 

Regards

Posted

I dont know how your host works but if it is any thing like mine. To use my own certificate instead of there shared one I needed to setup a sub-domain for the certificate to be assigned to or it would not work.

 

Example of what I had to do which meant I had to buy a new certificate to match the sub-domain.

 

Normally web address.

www.mysite.co.uk

 

Sub-domain address. (for SSL certificate to be assigned to)

secure.mysite.co.uk

 

But the SSL certificate then needs to be purchased for the sub-domain address not the normal address other wise you get errors that the certicate doesnt match the site.

 

Wasnt to bad though as I found this http://www.servertastic.com/store/product.asp?numPageStartPosition=1&strPageHistory=&strKeywords=&strSearchCriteria=&PT_ID=121&P_ID=222 which only charge $14.95 for a year and the certificates are from http://www.rapidssl.com/index_ssl.htm once you have paid servertastic the rest is dealt with direct to rapidssl who normally charge $69 for the standard certificate and they dont seem to be to bad.

Archived

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

×
×
  • Create New...