Zen Cart Logo
Forums / General Questions / What files do I move into secure folder for SSL/HTTPS protection?

What files do I move into secure folder for SSL/HTTPS protection?

Views: 2,896

Results 1 to 12 of 12
22 Feb 2011, 6:18 AM
#1
1nfinity avatar

1nfinity

New Zenner

Join Date:
Jan 2011
Posts:
10
Plugin Contributions:
0

What files do I move into secure folder for SSL/HTTPS protection?

Hello all,

I bought my dedicated SSL certificate - RapidSSL for $25 a year for https://www.citeaherbal.com

I updated the DNS records and it's ready to go.

I've looked at this tutorial: https://www.zen-cart.com/tutorials/index.php?article=14 - I even tried it but got tripped up when I went to test it and got that shopping_cart file could not be found, I assume because there is nothing yet in the secure folder or secure-cgi folder in my root directory.

But the tutorial does not tell you what files to put in the secure folder.

Do I put ALL my files in there instead of public? I'm missing something! :censored:

Thanks for the help!
-Dominick

22 Feb 2011, 9:38 AM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: What files do I move into secure folder for SSL/HTTPS protection?

You must have just missed something when editing your configure files, as you don't move ANY file to get your SSL to work.

In includes/configure.php, use settings as shown below:

// HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
  define('HTTP_SERVER', 'http://www.your_site.com');
  define('HTTPS_SERVER', 'https://www.your_site.com');

  // Use secure webserver for checkout procedure?
  define('ENABLE_SSL', 'true');
```In admin/includes/configure.php use settings as shown below:

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

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

22 Feb 2011, 10:09 AM
#3
edux10 avatar

edux10

New Zenner

Join Date:
Feb 2011
Posts:
26
Plugin Contributions:
0

Re: What files do I move into secure folder for SSL/HTTPS protection?

yeah, you dont move any, ssl is a mirror of your public http.

I had a problem too, it was the hosts fault tho, and they fixed it and my site worked fine, try turning off SSL in installation, see if that works, then edit configure.php to set it to ssl when you know it is working.

23 Feb 2011, 4:27 AM
#4
1nfinity avatar

1nfinity

New Zenner

Join Date:
Jan 2011
Posts:
10
Plugin Contributions:
0

Re: What files do I move into secure folder for SSL/HTTPS protection?

Thanks for the responses!

I have a question about my DNS A records. I had a blank A record (instead of a www A record) with my old IP address. And then I was given the new IP address by RapidSSL. I tried updating the blank A record and it didn't work. I put a www A record instead and that worked. I changed all the configure things to https://www.citeaherbal.com. Maybe I need to change back to the blank A record with the new IP address? When I go to edit the settings do I need to put citeaherbal.com instead of https://www.citeaherbal.com?

Thanks for the help!
Can you tell I'm confused? ;-)

-Dominick

23 Feb 2011, 7:03 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: What files do I move into secure folder for SSL/HTTPS protection?

You should really talk to your hosting company about that.

23 Feb 2011, 1:27 PM
#6
1nfinity avatar

1nfinity

New Zenner

Join Date:
Jan 2011
Posts:
10
Plugin Contributions:
0

Re: What files do I move into secure folder for SSL/HTTPS protection?

According to them, SSL and the certificate is installed properly. Here's what they keep telling me:

alecm: As I have said you did not upload it to /secure folder
alecm: that is why you receive the error

This is the error I'm getting:

https://www.citeaherbal.com/index.php?main_page=login

:censored: :censored: :censored::censored:

What next?
Thanks for the help!

Dominick

23 Feb 2011, 3:08 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: What files do I move into secure folder for SSL/HTTPS protection?

Your site does not appear to work even when not trying to use a secure page ... :unsure:

23 Feb 2011, 5:11 PM
#9
1nfinity avatar

1nfinity

New Zenner

Join Date:
Jan 2011
Posts:
10
Plugin Contributions:
0

Re: What files do I move into secure folder for SSL/HTTPS protection?

Oy! :shocking:

You mean https://www.citeaherbal.com doesn't work? Yes, why would that be?

Could it be my DNS records?

:frusty:,
Dominick

23 Feb 2011, 6:57 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: What files do I move into secure folder for SSL/HTTPS protection?

I would contact your hosting company and see what the problem is ...

24 Feb 2011, 4:31 AM
#11
1nfinity avatar

1nfinity

New Zenner

Join Date:
Jan 2011
Posts:
10
Plugin Contributions:
0

Re: What files do I move into secure folder for SSL/HTTPS protection?

Yea that's what I'm doing. I was just moved up to Tier 3 tech support team. Sounds serious! :)

Thanks for the attention thus far!
Dominick

24 Feb 2011, 5:01 AM
#12
1nfinity avatar

1nfinity

New Zenner

Join Date:
Jan 2011
Posts:
10
Plugin Contributions:
0

Re: What files do I move into secure folder for SSL/HTTPS protection?

Wow! So all of a sudden everything is working. lol Okay then! Not even sure what I did but if I figure it out I'll report the successful action. Thanks for the incredible support!