PDA

View Full Version : Zen Cart and SSL


Jack Dakers
05-31-2008, 04:39 PM
Hi

Thanks for reading this and any help - I guess the real problem is that Zen Cart is so new to me...... it feels like I started crawling this morning and am now tring to drive a Ferrarri!


I have made the modifications required for shared SSL - chainging two configure.php files

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.yourdomain.com');
define('HTTPS_SERVER', 'https://(www.)yourdomain.com');
define('ENABLE_SSL', false); // secure webserver for checkout procedure?

to true - and reset files to 444 (and changed admin filename to hide it, even kept a backup of the original file)

(I was surprised that there was an option to enable SSL for admin - but have left this is false - mistake?)

I've added a "mock product" and when I try to write a review - the site throws an error - looking for the https version of my site. and spits me the error page;

Not Found
The requested URL /index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at sortingscience.com Port 443

(url https://sortingscience.com/index.php?main_page=login)


My questions are should I change (public_html/admin/includes/configure.php

define('ENABLE_SSL_ADMIN', 'false');

to true?

Then do I need to wait 24 hrs to resolution issues?


Meanwhile I'm reading and tweaking.

Jack

Val
06-02-2008, 12:51 AM
The issue in your case is caused by the fact that you are trying to use your domain name with the shared ssl certificate. The certificate, being a shared one, is not tailored to a specific domain name and thus to use it you need to configure yoru HTTPS URL to be:

http://server-ip-address/~your-cpanel-username/

Where the server IP address and your actual username can be found in your Customers Area -> Manage Account section.

Jack Dakers
06-02-2008, 05:08 PM
Many thanks Val.

Jack

Jack Dakers
06-04-2008, 01:50 AM
Update:

I bought the $74 SSL Package for www.sortingscience.com on Monday (Wednesday now)

Clicked the approve message - should I expect some confirmation message to say set up is complete?

I have edited the config.php files for www.sortingscience.com

Can anyone tell me whether I should set:

define('ENABLE_SSL_ADMIN', 'true');

or leave it as

define('ENABLE_SSL_ADMIN', 'false');

It isn't mentioned in the help file - but seems weird to leave it as false.

My cart now reports a conflict for SSL and says that I am pretending to be siteground; not the desired effect.

Then I get the page not foune (Port 443) page when I try to access my checkout.
Thanks

Jack

Val
06-04-2008, 01:52 AM
It seems that your SSL haven't been isntalled yet. Please check your order status and post a ticket under the SSL related issues for more information about it.

As soon as the certificate is installed you will be able to see your site using

https://www.sortingscience.com/

which is now showing the default SG page.

Jack Dakers
06-04-2008, 02:07 AM
As if by magic (perhaps you poked someone for me Val!) https now works.

Thanks;

but can you answer the admin question; https or http?

Regards

Jack

Val
06-04-2008, 05:39 AM
If your SSL have been installed and is correctly working (note that there will be a couple of hours propagation time due to the IP address change) you should set in your config file:

define('ENABLE_SSL_ADMIN', 'true');

this will enable the SSL for your admin area and will make it even more secure.