Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Upgrading to SSL


naymo

Recommended Posts

I have the store up & running and am currently using Paypal for my transactions. I have just found out that I have access to a shared SSL? and am wondering how can i take advantage of this as the store is already working but i want customers to feel more secure.

 

 

thanks in advance for any help offered.

Link to comment
Share on other sites

You might need to contact your host to get them to set up your site on the shared SSL.

 

If it's already set up, you should be able to access it via

 

https://their_secure_server.com/yoursite.com

 

(or something similar. It really depends on how they do things - your host will give you an exact url.)

 

Then you need to edit the HTTPS_* settings in includes/configure.php to match your shared domain, path, and cookie domain and path.

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

thanks for that, i understand a little more now, another question for you is,

 

do the cookie domain, cookie path and catalog paths have to be changed to my shared secured webserver

address??

 

eg

define('HTTP_SERVER', 'http://www.mywebsite.co.uk');

define('HTTPS_SERVER', 'https://www.mysharedserver/mywebsite.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.mywebsite.co.uk');

define('HTTPS_COOKIE_DOMAIN', 'www.mywebsite.co.uk');

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

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

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

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

 

thanks

 

naymo :thumbsup:

Link to comment
Share on other sites

All HTTPS_* constants need to match your path for https, and all HTTP_* constants need to match you path for http. Since you have different urls, these should be completely different.

 

 

define('HTTP_SERVER', 'http://www.mywebsite.co.uk');

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

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

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

define('HTTPS_COOKIE_DOMAIN', 'www.mysharedserver');

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

define('HTTPS_COOKIE_PATH', '/mywebsite.co.uk/catalog/');

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

define('DIR_WS_HTTPS_CATALOG', '/mywebsite.co.uk/catalog/');

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...