ouikikazz Posted June 3, 2005 Share Posted June 3, 2005 I read the knowledge base...and couldn't find anything, was hoping to find more luck here. How do you get the SSL working? I setup a cert and key in Cpanel already, now how do i get oscommerce to recognize that i have SSL? And also do i have to create a https directory too now and copy my files there?? Cause when i click checkout on my site it'll get page not found because its linking to a https link. Link to comment Share on other sites More sharing options...
Guest Posted June 3, 2005 Share Posted June 3, 2005 you set ssl_enable to true in your catalog/includes/configure.php and put your paths in the portions dealing with https, ie https_server is https://www.yourdomain.com the htths cookies, etc need to get setup too no do not create directories Link to comment Share on other sites More sharing options...
♥Vger Posted June 3, 2005 Share Posted June 3, 2005 If you have actually created a self-signed certificate using cPanel then you can use it for testing - but it's worthless for use on a live website. This is because a self-signed cert is not from a 'Trusted Authority' and so will generate warning messages on each https page. In both configure.php files you need to set enable_ssl to true, and then for https_server and https_catalog_server you need to enter 'https://www.yourdomain.com' Your https_cookie_domain should be set to www.yourdomain.com (same as for http_cookie_domain). If you do that and it does not work, then it's likely that one of two things is wrong: 1. You generated a CSR (Certificate Signing Request) but not a certificate. 2. Check with your hosting company to see if they use a seperate folder for httpsdocs Vger Link to comment Share on other sites More sharing options...
ouikikazz Posted June 3, 2005 Author Share Posted June 3, 2005 you set ssl_enable to true in your catalog/includes/configure.php and put your paths in the portions dealing with https, ie https_server is https://www.yourdomain.com the htths cookies, etc need to get setup too no do not create directories <{POST_SNAPBACK}> well this is what my configure part looks like: define('HTTP_SERVER', 'http://www.structuredstyle.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.structuredstyle.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.structuredstyle.com'); define('HTTPS_COOKIE_DOMAIN', 'www.structuredstyle.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); whats wrong there? Link to comment Share on other sites More sharing options...
Guest Posted June 3, 2005 Share Posted June 3, 2005 that should all work. however your host is having problems with your ssl cert, or it was not installed properly via cpanel and needs reinstallation. could be the type of cert you purchased, send the cert to the host and ask them to install. it is not an oscommerce problem as i went to the main site and it doesnt work either, thus is a hosting error. or get a better host. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.