Guest Posted December 16, 2004 Posted December 16, 2004 When I installed I didn't have an SSL cert installed. Now that I have one how do I switch over without reinstalling? thanks
ozcsys Posted December 16, 2004 Posted December 16, 2004 When I installed I didn't have an SSL cert installed. Now that I have one how do I switch over without reinstalling? thanks <{POST_SNAPBACK}> You will need to set ssl to true and set the secure paths in your two configure.php files The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Guest Posted December 16, 2004 Posted December 16, 2004 I have made the changes to the two configure.php files define('HTTP_SERVER', 'http://127.0.0.1'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://127.0.0.1'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://xxxxxxxxxxx.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/www/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/www/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/www/catalog/'); But it still doesn't work properly - I have two issues: i. When I go to the https admin page all the links still point to http. ii. In the store, the 'top' link takes me to http://127.0.0.1 ie not https and not /www/catalog
♥Vger Posted December 16, 2004 Posted December 16, 2004 define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.yourdomain.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.yourdomain.com'); define('HTTPS_COOKIE_DOMAIN', 'www.yourdomain.com'); define('HTTP_COOKIE_PATH', '/catalog'); define('HTTPS_COOKIE_PATH', '/catalog'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); These settings are for a site with a full ssl cert, with osCommmerce files in a 'catalog' folder. For the 'admin' includes/configure.php file you need to make sure that all http://www.yourdomain.com references are changed to https://www.yourdomain.com - and then all of the 'admin' will be behind https. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.