Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Installing on a Windows Server / Making sure that my site is on SSL one

Making sure that my site is on SSL one

Locked

Started by janissaire on 24 Jul 2010, 5:41 AM · Views: 2,549

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
24 Jul 2010, 5:41 AM
#1
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Making sure that my site is on SSL one

Ok, with all the latest updates, I'm going to be doing a fresh install of the latest version :laugh:

How do I do this so that I make sure that every page of my store shows up on the SSL site?

Thanks:hug:

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

24 Jul 2010, 6:09 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Making sure that my site is on SSL one

Huh ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

26 Jul 2010, 4:42 AM
#3
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Making sure that my site is on SSL one

this one might help

http://www.zen-cart.com/forum/showthread.php?t=156751

but basically set up my zencart before my ssl - was going to use the SSL for the cart area

now you can see the ssl

https://jecphotography.com/mystore/

http://jecphotography.com/mystore/

However, if you go to the http > go to test product, put it into cart

and then do the checkout thing

[email protected]
Password1

is your test ID activated until I figure this out

you will see that the checkout has allowed you to go through to the non secure area.

So I was thinking that with a new store install I could get the entire thing to be on the ssl side

hope this helps and as an asside - I seem to now have the Canada Post and UPS shipping module almost working - never had it that way unitl tonight - just need to tweak it.

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

26 Jul 2010, 8:17 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Making sure that my site is on SSL one

FAQ on enabling SSL after installing without it: https://www.zen-cart.com/tutorials/index.php?article=14

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Jul 2010, 6:21 PM
#5
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Making sure that my site is on SSL one

Ok I think I already did this but I'll double check it

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

29 Jul 2010, 4:11 AM
#6
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Making sure that my site is on SSL one

Nope - it doesn't work :(

my site is jecphotography.com but I have the store set up in

/mystore

does that help?

I am on a dedicated server and have my own SSL

Just double checked - it says

your shared SSL Certificate Url

will try the shared one

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

29 Jul 2010, 4:20 AM
#7
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Making sure that my site is on SSL one

tried this one and no luck

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

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

29 Jul 2010, 5:21 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: Making sure that my site is on SSL one

You're supposed to put YOUR domain name in there, not leave it as "YOUR_SHOP.com". :blink:

ie: ```
define('HTTP_SERVER', 'http://jecphotography.com');
define('HTTPS_SERVER', 'https://jecphotography.com');
define('ENABLE_SSL', 'true');

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Aug 2010, 6:39 PM
#9
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Making sure that my site is on SSL one

yes I have exactly it as you're example already - which is why I'm going a little nuts over it

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

2 Aug 2010, 7:48 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: Making sure that my site is on SSL one

Well, the configure.php files on your server clearly don't have those changes in them, or it would be automatically switching when you click the Login link.

Did you make the files writable before you tried to save/upload changes to them?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Aug 2010, 10:02 PM
#11
Kim avatar

Kim

Obaa-san

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

Re: Making sure that my site is on SSL one

Who is your host?

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.

4 Aug 2010, 1:09 AM
#12
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Making sure that my site is on SSL one

HostMDS is my host

I edited the files on my local and then replaced them on the site

Does this have anything to do with it? It caused me a massive headache when I tried to do a restore of my database

http://www.zen-cart.com/forum/showthread.php?t=146297 maybe it has something to do with it

My store is in a folder after my domain name

....com/mystore does that have anything to do with it

hmmm...may have found the issue but am unsure how to fix - I have uploaded the fix as you have said - however when I do a view online - the fix isn't there. Any ideas? I changed the file permissions to write and then uploaded them but still it's doesn't take - I have reset the permissions back again to read only.

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

4 Aug 2010, 1:20 AM
#13
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Making sure that my site is on SSL one

Ok That was the problem and I thank you for all of your help as usual:clap:

For some reason, even though I was telling it to overwrite the files on the server, the file wasn't being overwritten. The view option confirmed where the error was occuring.

The solution was to do a hard delete of the 2 config files and remove them from the server altogether. Once that was done I got the standard Zen Welcome saying you need to install etc...I then reloaded the 2 files from my local.

I think I now have it set up correctly - can you please verify? Thanks. :hug: Code is now 444 - that good?

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

10 Aug 2010, 1:15 AM
#14
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Making sure that my site is on SSL one

Sorry for the bump - can anyone double check to make sure I have it set up right? I think I do but I just want to be sure.:smile:

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore

10 Aug 2010, 10:09 PM
#15
ajeh avatar

ajeh

Oba-san

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

Re: Making sure that my site is on SSL one

Your site is Down for Maintenance ... :eek:

But, from what I can see you have configuration issues in the:
/includes/configure.php

file on the server as I see double slashes in the URL to your secure page for the Login Link ...

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!

10 Aug 2010, 10:11 PM
#16
ajeh avatar

ajeh

Oba-san

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

Re: Making sure that my site is on SSL one

Note: also check that you are not using a shared certificate URL if you have your own ... which is what it almost looks like you are trying to do ... :unsure:

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!

10 Aug 2010, 11:13 PM
#17
janissaire avatar

janissaire

Zen Follower

Join Date:
Sep 2008
Location:
Toronto, Ontario, Canada
Posts:
474
Plugin Contributions:
0

Re: Making sure that my site is on SSL one

Site back up - I was changing some prices :smile:

Thought I was on a dedicated server and have my own SSL

Just double checked via my cpanel - it says

your shared SSL Certificate Url

and thanks for the verification help

After looking at computer code for a while - I think I'm going crazy but the voice in my head assures me that I'm not! http://www.jecphotography.com/mystore