Zen Cart Logo
Forums / General Questions / Problems With SSL

Problems With SSL

Locked

Views: 1,913

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
14 Sep 2009, 3:47 PM
#1
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Problems With SSL

Can anyone tell me why my https only works for a sec on my main website. When I go into the Admin area to sign in then my Https works great to sign in to the Admin area. I want it in my log in area.

I have tried FF and IE8 both have the same problem
The golden lock on the bottom right side shows up with an exclamation point running through it. The URL says https but there is nor certificate. The only time the URL https works properly is in the Admin log in area.

I have followed the thread post of changing the config files in includes and Admin to SSL true. All Http and Https have been changed to my home name of https://www.gemz4you.com

The only thing I havn't done is make a https folder. Now i have read some say that I need one https and http folder is this true.? If so how and where do I make this folder and how?

Thank you to all that help.

website: https://www.gemz4you.com or http://www.gemz4you.com

14 Sep 2009, 4:55 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems With SSL

HTTPS (ssl) is very resource hungry, so Zencart is very clever about when it switches it on (and off).

SSL is enabled ONLY when sensitive data is being transmitted - at all other times, your pages will be HTTP.

14 Sep 2009, 5:08 PM
#3
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problems With SSL

I don't know it doesn't seem to be working at all. I have tried two test names and when adding the info and clicking to continue, it still doesn't come on. When people look at my website they are going to think I am full of it. There is no way to verify that I am secure.

14 Sep 2009, 5:14 PM
#4
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problems With SSL

I just looked at several others website's who use Zencart and there SSL works fine and three of them use the same SSL as I do from godaddy. I just don't understand the difference.

14 Sep 2009, 5:15 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems With SSL

Do you get https when:-

In the SHOP side of the site, you click on LOGIN or REGISTER?

In the admin side, when you call up admin for the first time... ie: to insert your username & password?

Have you set SSL to TRUE in your configure.php files? (In order to edit them, you may have to temporarily change permissions from 444 to 666 before the edit will be "sanctioned".)

Has your SSL cert been properly installed?

Is it (the Cert) configured for
https://www.yoursite.com
or just
yoursite.com

14 Sep 2009, 5:23 PM
#6
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problems With SSL

The configure files I have done and have reset the file permissions.

Yes the admin side works with https

as for the other websites it worked when I clicked on register or log in.

Has my SSL been inserted correctly? I believe so. I use a hosting company they are the ones that installed my Cert bundle.

I believe the Cert is config for https://www.gemz4you.com but I will check on that one. :shocking:

14 Sep 2009, 7:20 PM
#7
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problems With SSL

I have checked the cert it says https://www.gemz4you.com all the way through it. The only area that I had seen with the URL of http://gemz4you.com was in alternative names.

As for the installation part. I am not sure if it was done correctly. They generated my CSR key I added it to my SSL completion form. Finished on my SSL side. Downloaded the Cert in zip format, then emailed it to them.

I am waiting for a reply from them.:wacko:

15 Sep 2009, 3:37 AM
#8
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problems With SSL

ok I have re-keyed the cert. checked all config files they are set to true. all url's in the config files match the cert url. All file permission are correctly set. And I am still getting the same problem. I just don't get it. I have read all day about godaddy SSL and zen-cart issues. Most issues are like mine, and the fix them the same way. here is a website that works withe there SSL from go daddy.

https://projectrwanda.org/user/login

can anyone tell me the difference between our site?

Mine is https://www.gemz4you.com/index.php?main_page=login

the weird thing is it only seems to work when I go to my Admin area to work on zen-cart.

This is from the admin/includes/configure.php

define('HTTP_SERVER', 'http://gemz4you.com');
define('HTTPS_SERVER', 'https://gemz4you.com');
define('HTTP_CATALOG_SERVER', 'http://gemz4you.com');
define('HTTPS_CATALOG_SERVER', 'https://gemz4you.com');

// Use secure webserver for catalog module and/or admin areas?
define('ENABLE_SSL_CATALOG', 'true');
define('ENABLE_SSL_ADMIN', 'true');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_ADMIN', '//'); I took this off for the post this area works with the SSL
define('DIR_WS_CATALOG', '/'); Nothing was here is the suppose to be something?
define('DIR_WS_HTTPS_ADMIN', '//'); I took this off for the post, this area works with the SSL
define('DIR_WS_HTTPS_CATALOG', '/') Nothing was here should there be?

and here is the includes/configure.php

define('HTTP_SERVER', 'http://www.gemz4you.com');
define('HTTPS_SERVER', 'https://www.gemz4you.com');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/'); Nothing here is there suppose to be?
define('DIR_WS_HTTPS_CATALOG', '/'); Nothing here is there suppose to be?

So I am back at the beginning could someone help.

15 Sep 2009, 7:50 AM
#9
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problems With SSL

Ok I don't think it is my host server, I just installed OS Commerce my SSL worked just fine.

Would reinstalling Zen-cart from scratch work? I want to keep all my areas that have stuff, products pages, about us pages, ect...

Would a new install of admin files and other major components of zencart fix my problem? any one have any suggestions. :wacko:

15 Sep 2009, 8:58 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Problems With SSL

For reasons that only you know, your swf flash is not on your server and is coded to load from an http address instead of https
This causes your store front page to have a non-secure item as part of the page.

Solution, get your swf on your server and use relative path so it will load from your server in both http and https

15 Sep 2009, 9:41 AM
#11
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problems With SSL

and that will resolve the problem? That would be great. How do I do that then?

15 Sep 2009, 3:05 PM
#12
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problems With SSL

Well I did it I followed the code

<object type="application/x-shockwave-flash" data="includes/templates/XXX/UUU/ZZZ.swf" width="100%" height="100"> <param name="movie" value="includes/templates/XXX/UUU/ZZZ.swf" /> <param name="quality" value="high"><param name="BGCOLOR" value="#000000"> <param name="menu" value="false"> </object>

and bam it works just fine. Now my SSL works just fine.Thanks to all that have helped.

15 Sep 2009, 7:25 PM
#13
jqpublic avatar

jqpublic

New Zenner

Join Date:
Aug 2009
Posts:
59
Plugin Contributions:
0

Re: Problems With SSL

Man that is a BEAUTIFUL site!

16 Sep 2009, 12:29 AM
#14
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Problems With SSL

and that will resolve the problem? That would be great.
Well I did it I followed the code and bam it works just fine. Now my SSL works just fine.
Great!!!
Always use "relative" paths to prevent the "this page contains both secure and non-secure items"

16 Sep 2009, 3:26 PM
#15
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Problems With SSL

JQPublic:

Man that is a BEAUTIFUL site!

Yes... very attractive, but the one issue with having a flash file the size of a cinema screen is that on every page refresh, the customer has to manually scroll past it to get to what they really came for - the product info. This becomes irritating and frankly, I'd not bother to look at anything more than the first couple of products - then the irritation factor would drive me to a competitor who knows that I'm there to look at products - not to be entertained . :D

Consider embedding that flash on the define_main_page.php only - so that we see it once only, and then get to see what we've come for... the products you're selling (which are really very nice).

18 Sep 2009, 2:33 AM
#16
lordgemz avatar

lordgemz

New Zenner

Join Date:
Aug 2009
Location:
Washington
Posts:
82
Plugin Contributions:
0

Re: Problems With SSL

thank you for all the comments and help. Embedding the flash just on the main is a good Idea. I will look into that.