Enable SSL Certificate in Shopping Cart
From Lunarpages Web Hosting Wiki
Here you can find help on how to enable your SSL certificate in a number of different shopping cart scripts.
I installed Agora and I didn't enable the SSL when I installed it. How do I do that now for a dedicated certificate or the shared certificate?
Assuming you installed it from cPanel, go to Agora Shopping Cart and click on the cart under "Modify an existing cart". Login to the admin area then click on Payment Gateway. Look for "Please enter the Secure URL to your agora.cgi store." and enter the secure URL with https at the beginning ie https://www.yourdomain.com/agorafolder/agora.cgi. for a dedicated certificate or https://secure.servername.lunarpages.com/~username/agorafolder/agora.cgi for the shared certificate (change yourdomain.com, agorafolder, servername, and username to yours). Click on Submit.
Click on Program Settings at the top, then click on Main AgoraCart Store Settings. Look for SSL URL and enter it there as well.
I installed OsCommerce and I didn't enable the SSL when I installed it. How do I do that now for a dedicated certificate or the shared certificate?
OsCommerce and other PHP, ASP, or JSP carts will not run on the shared server certificate. You will need a dedicated certificate or to switch to a cgi based cart like Agora. Contact firstname.lastname@example.org for info on dedicated certificate costs.
You need to turn SSL on in OsCommerce if you didn't set it up when installing it by editing /includes/configure.php and /admin/includes/configure.php
define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost define('HTTPS_SERVER', 'https://www.yourdomain.com'); // eg, https://localhost define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://www.yourdomain.com'); define('HTTPS_COOKIE_DOMAIN', 'https://www.yourdomain.com'); define('HTTP_COOKIE_PATH', '/catalog'); define('HTTPS_COOKIE_PATH', '/catalog');
Change yourdomain.com to the exact domain name used for the SSL certificate. If you did not use www for the certificate, then do not add it here either. Change 'ENABLE_SSL' to true and 'HTTPS_COOKIE_PATH', if necessary, to the store's main folder.
I installed Cubecart and I didn't enable the SSL when I installed it. How do I do that now for a dedicated certificate?
Login to the admin section of Cubecart. Go to General Settings.
Your settings for SSL should be:
- Root SECURE Public HTML Folder to store: / or blank if in public_html, /foldername/ if stored under a subfolder. (Change to subfolder name and include the slashes)
- Absolute SECURE URL to store: https://www.yourdomain.com (change to your SSL domain with https and with or without www to match your certificate. Add /foldername at end if in a subfolder. Change to actual subfolder name)
- Server SECURE Root Directory: /home/cpaneluser/public_html/ for install in public_html or /home/cpaneluser/public_html/foldername if installed in a subfolder Enable SSL: Yes
If you make a mistake and can no longer access part of the store like the admin area, please see this post to download a script to access the encrypted files to change the settings.