If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / SSL Setup Question

SSL Setup Question

Locked

Started by r189 on 28 Jul 2010, 4:18 PM · Views: 800

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
28 Jul 2010, 4:18 PM
#1
r189 avatar

r189

New Zenner

Join Date:
Apr 2010
Posts:
26
Plugin Contributions:
0

SSL Setup Question

I have Zencart 1.3.8a
new install
Installed on Godaddy Server - Linux
Added Google Shopping module

I have an ssl certificate (shared) from Godaddy

Seems to work fine with my regular html pages.

However in Zencart...

I have gone into <includes/configure.php and admin/includes/configure.php> and changed:

// Define the webserver and path parameters
define('HTTP_SERVER', 'http://www.YOUR_SHOP.com');
define('HTTPS_SERVER', 'https://YOUR_SHOP.YOUR_SECURE_SERVER.net');
define('ENABLE_SSL', 'true');

though I still am unclear about what is being asked for here:
https://YOUR_SHOP.YOUR_SECURE_SERVER.net

When I go into Zencart from my regular HTTPS pages, Zen cart uses HTTP and so, negates the SSL.

How do I get ZC to use HTTPS instead of HTTP?

Ric

28 Jul 2010, 6:23 PM
#2
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Location:
Longs, SC
Posts:
635
Plugin Contributions:
0

Re: SSL Setup Question

What its looking for is either

// HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com

You need to be sure that the url matches the one that your SSL was issued for. If it was issued for www.your_domain.com you need to enter that. If it was issued for your_domain.com you need to enter that instead.

Before you get too far down the road with your customization you should really consider installing a current version (1.3.9e) to build your store.

29 Jul 2010, 12:44 AM
#3
r189 avatar

r189

New Zenner

Join Date:
Apr 2010
Posts:
26
Plugin Contributions:
0

Re: SSL Setup Question

I just installed the new version and after uploading the old databaase I get the following;

Your database appears to need patching to a higher level. See Tools->Server Information to review patch levels.

It tells me:
Database Patch Level: 1.3.8

How do I fix this?

29 Jul 2010, 12:59 AM
#4
r189 avatar

r189

New Zenner

Join Date:
Apr 2010
Posts:
26
Plugin Contributions:
0

Re: SSL Setup Question

and addendum to the above:

The address that the SSL was issued to is : https://continuum3d.com so that is what I have used the 2 configure.php files.

when I roll over any links within ZC (contact, privacy, site map etc..) they all point to HTTP:// even though I have "Enabled SSL" in the configure.php files and named my secure server "https://continuum3d.com"

I am missing something important here.tem

I just installed 1.3.9d and after uploading the old databaase I get the following;

Your database appears to need patching to a higher level. See Tools->Server Information to review patch levels.

It tells me:
Database Patch Level: 1.3.8

How do I fix this?

29 Jul 2010, 3:48 AM
#5
r189 avatar

r189

New Zenner

Join Date:
Apr 2010
Posts:
26
Plugin Contributions:
0

Re: SSL Setup Question

Where would I go in the code to make the entire shohpping cart experience 'secure', to make it all HTTPS.

so that the user will always see the security lock while anywhere in ZC.

Ric

29 Jul 2010, 5:30 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,748
Plugin Contributions:
0

Re: SSL Setup Question

Why would you want to do this? Zen Cart is smart and knows how and where to use SSL. Making the whole shop SSL will slow it down.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

29 Jul 2010, 2:08 PM
#7
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Location:
Longs, SC
Posts:
635
Plugin Contributions:
0

Re: SSL Setup Question

Kim:

Why would you want to do this? Zen Cart is smart and knows how and where to use SSL. Making the whole shop SSL will slow it down.

Yeah! What he said. Why would you want tot do this?

As for the other question there are about a million other threads on the database upgrade from 1.3.8 to 1.3.9.
Try this one http://www.zen-cart.com/forum/showthread.php?t=157631&highlight=database

29 Jul 2010, 4:01 PM
#8
r189 avatar

r189

New Zenner

Join Date:
Apr 2010
Posts:
26
Plugin Contributions:
0

Re: SSL Setup Question

thanks badarac, once I started asking the right questions, I did find the answers I needed for the upgrade problems.

Kim, as for the 'make all https', I was placing the shopping cart into an iframe within the format (menus/graphics etc) of the existing site.

Even when this 'shell', by itself, comes up with a clean secure padlock icon, once Zencart is in the iframe and I click on any of the links, the padlock 'breaks'

I can enter the page with the iframe and ZC with a specific product selected and have a good secure padlock, but once I select any of the other ZC menu items the padlock is 'broken'

I was merely looking for a way to keep a good secure connection while keeping zc within the framework of my existing site.

that's why I was thinking about going in this direction.

any alternate thoughts will be greatfuly taken.

Ric

29 Jul 2010, 6:30 PM
#9
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,748
Plugin Contributions:
0

Re: SSL Setup Question

I was merely looking for a way to keep a good secure connection while keeping zc within the framework of my existing site

Zen Cart will NOT work inside a frame.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

29 Jul 2010, 10:58 PM
#10
r189 avatar

r189

New Zenner

Join Date:
Apr 2010
Posts:
26
Plugin Contributions:
0

Re: SSL Setup Question

how about a 'Frames' Page?

I'll give it a shot.