If this is your first visit, check our documentation. To post, register or login.

SSL...How.

Locked

Started by silverkop on 14 Apr 2007, 2:58 PM · Views: 1,227

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
14 Apr 2007, 2:58 PM
#1
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Post #1 by silverkop

I have just bought a ssl certificate from my host company and they confirm that it is installed properly.

When I try to access my site through the https it just relays me to normal http.

This is the message I have received from my host:

The https works with all pages under your domain. The only reason it is going to http when you click on a link, is because that is how all your links in zen cart are setup. You need to edit those links to point to https instead of http if you want it to go to https instead of http. There is likely a setting in zen cart for specifying that, but I am not familiar with the configuration page so you'll need to check the documentation for that piece of software.

Any advice on how I set this up.

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.
14 Apr 2007, 3:43 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

All that is required is to configure the two configure.php files to use the new URL ...
/includes/configure.php
/admin/includes/configure.php

And enable the secure ...

Example for the /includes/configure.php

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

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

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Apr 2007, 4:04 PM
#3
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Post #3 by silverkop

Many thanks, that did the trick.:D

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.
15 Apr 2007, 2:13 AM
#4
sbross avatar

sbross

New Zenner

Join Date:
Feb 2007
Posts:
64
Plugin Contributions:
0

Post #4 by sbross

I have had RapidSSL installed by Bluehost. I've changed the files like I'm supposed to. My question is, when you login or go to checkout, isn't is supposed to switch to secure when these pages are accessed? You can use www or not and you can get to my site. Once you're there and click on another link it gets rid of the www.

https://www.rockymtnradio.com/index.php

Scott

16 Apr 2007, 10:09 AM
#5
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Post #5 by silverkop

Scott

I am no expert but having just installed a ssl certificate here is my 2 pence worth.

Your ssl certificate is set up as www.your domain. Check to see if in the two configure files you are set up as www.your domain or as your domain. As far as I know your certificate will only work if you set up as www.your domain.

On my site you can access whether you use my domain or www.my domain but when you go to log in or cart check the https works.

Hope that helps if not I am sure some one more knowledgeable will come along and help.

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.
12 Jun 2007, 5:00 AM
#6
iang000 avatar

iang000

New Zenner

Join Date:
May 2007
Location:
Los Angeles
Posts:
63
Plugin Contributions:
0

Post #6 by iang000

Ajeh:

All that is required is to configure the two configure.php files to use the new URL ...
/includes/configure.php
/admin/includes/configure.php

And enable the secure ...

Example for the /includes/configure.php

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

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

 
Sorry, my goof. I see these now.
12 Jun 2007, 6:26 AM
#7
iang000 avatar

iang000

New Zenner

Join Date:
May 2007
Location:
Los Angeles
Posts:
63
Plugin Contributions:
0

Post #7 by iang000

Somehow my FTP program clobbered my configure.php file and now I tried to recreate it but I get an error when I try to access my shopping cart which says the system is being maintained. I do not have a copy of the old configure.php

How can I get the original configure.php and what mods do I need to make to it to get things back?