Zen Cart Logo
Forums / General Questions / My new security cert does not work

My new security cert does not work

Views: 921

Results 1 to 11 of 11
19 Sep 2011, 6:52 PM
#1
esebm avatar

esebm

Zen Follower

Join Date:
Oct 2010
Posts:
116
Plugin Contributions:
0

My new security cert does not work

Hi,

We have purchased a sec cert and it works on the hosting site.

veritechinc .com

I have modified the two configure.php files but when I order an item, I'm not switched over to https at all. Is there another setting in the cart admin that I overlooked?

Thanks,

Ed

19 Sep 2011, 7:09 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: My new security cert does not work

If you didn't mark those 2 files as writable before you modified them, then your modifications didn't get saved, and thus Zen Cart won't be switching in and out of https automatically.
Those 2 files are the only place that requires a change.
Ref: https://www.zen-cart.com/tutorials/index.php?article=14

19 Sep 2011, 7:23 PM
#3
esebm avatar

esebm

Zen Follower

Join Date:
Oct 2010
Posts:
116
Plugin Contributions:
0

Re: My new security cert does not work

I used the exact tutorial that you mentioned and I verified that the modified configure.php files are actually on the server.

19 Sep 2011, 10:52 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: My new security cert does not work

You're running your store in a frame. That's likely to cause you problems. Zen Cart is not designed to run inside an iframe.

Nevertheless, it looks like your store is switching into HTTPS mode for login just fine when I access it directly instead of from inside the iframe.

20 Sep 2011, 12:45 AM
#5
esebm avatar

esebm

Zen Follower

Join Date:
Oct 2010
Posts:
116
Plugin Contributions:
0

Re: My new security cert does not work

The store has been running in a frame without a problem for over 6 months now.

The likely problem is that this is my first encounter with a secure website and I'm not really sure that I grasp the entire concept. The hosting company send us a new IP address and I am wondering if I need to upload the entire website incl. the cart to this dedicated IP address and remove the one on the shared address?

20 Sep 2011, 1:51 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: My new security cert does not work

Um, unless they've given you instructions to relocate your site to someplace else, that's highly unlikely.
And if they have given you such instructions, then they're not doing their job properly.

What exactly is the problem you think you're having?
How exactly should I be able to recreate it? If it requires logging in, what is a customer username/password I can use for testing?

20 Sep 2011, 4:13 PM
#7
esebm avatar

esebm

Zen Follower

Join Date:
Oct 2010
Posts:
116
Plugin Contributions:
0

Re: My new security cert does not work

No, they have not told me to relocate the site.

Here's what I don't understand:
When I enter https://www.veritechinc.com/, the entire website including the shopping cart seems to be on a secure site and everything works fine.

However, when I enter just https://www.veritechinc.com/ as a casual browser would do, I'm getting the same website on an unsecure server and it never switches into the secure mode. It appears that the website exists twice, on a secure and on an unsecure server.

I was under the assumption that, when I enter the normal www,xx..., it would automatically switch to the secure server or is that assumption wrong?

Thanks for your help.

Ed

20 Sep 2011, 4:20 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: My new security cert does not work

What you're seeing is EXACTLY what happens when you run things in iframes.

The URL in your browser is completely unrelated to whatever is happening in the iframe. So, yes, you DO have basically two websites.

As long as you run Zen Cart inside an iframe, it will not have any ability to alter the URL of the page outside it nor the URL in your browser.

20 Sep 2011, 4:33 PM
#9
esebm avatar

esebm

Zen Follower

Join Date:
Oct 2010
Posts:
116
Plugin Contributions:
0

Re: My new security cert does not work

OK,

I have moved the link out of the iframe and call the shoppping cart on the secure server and it seems to work correctly now.

Could you please do ma a last favor and verify that?

Thanks,

Ed

20 Sep 2011, 6:17 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: My new security cert does not work

Adding a product to the cart and then clicking Checkout switches to SSL as expected while it redirects to the login page.
Looks like it's working as intended.

20 Sep 2011, 6:45 PM
#11
esebm avatar

esebm

Zen Follower

Join Date:
Oct 2010
Posts:
116
Plugin Contributions:
0

Re: My new security cert does not work

Thanks a lot for your help.

Ed