Forums / General Questions / How do I get my SSL to work ?

How do I get my SSL to work ?

Locked

Started by creativeit on 9 Oct 2006, 3:31 PM · Views: 4,634

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
9 Oct 2006, 3:31 PM
#1
creativeit avatar

creativeit

New Zenner

Join Date:
Oct 2006
Location:
Riverview QLD
Posts:
10
Plugin Contributions:
0

How do I get my SSL to work ?

Hi,

I have read through every thread on SSL but not one person seems to have experienced this problem. The site reverts to http:// as soon as I move from the index page - I am manually typing https://allaboutwomen.com.au into the address bar.

I have successfully installed SSL cert on a dedicated Ip. Certifcate is working for the domain. I have checked my configure.php server settings. Have included below:

define('HTTP_SERVER', 'http://allaboutwomen.com.au/');
define('HTTPS_SERVER', 'https://allaboutwomen.com.au/');
define('HTTP_CATALOG_SERVER', 'http://allaboutwomen.com.au/');
define('HTTPS_CATALOG_SERVER', 'https://allaboutwomen.com.au/');
define('ENABLE_SSL', 'true');

PROBLEM: as soon as I click on any catalogue link it always goes back to http - I have even tried commenting out the http urls and have tried making everything https - nothing I have tried is stoping the site from reverting to http. It is not going to https for the check out - only get https when I get to the Pay Pal payments gateway.

Does anybody know what could be the problem? I am tearing my hair out because I don't want people entering their personal information on a non-encrypted site.

Many thanks in advance to anyone who has any suggestions!!!

:wacko:

programmer | designer
canny creative IT
https://www.creativeit.com.au

9 Oct 2006, 3:41 PM
#2
Kim avatar

Kim

Obaa-san

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

Re: How do I get my SSL to work ?

The Zen Cart program is smart and it knows which pages need to be SSL and which don't and it switches back and forth between them seemlessly.

Is there a reason you think the whole store should be SSL?

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.

9 Oct 2006, 3:57 PM
#3
creativeit avatar

creativeit

New Zenner

Join Date:
Oct 2006
Location:
Riverview QLD
Posts:
10
Plugin Contributions:
0

Re: How do I get my SSL to work ?

I would really like it to be SSL when someone is creating a new account and putting their billing information in. I would like the account creation to be secure so that people know that their information being entered cannot be intercepted.

  • I can't find a single page where Zen Cart is switching to SSL.

Do you know if it only switches to SSL when you are using the built-in credit card payments module ie. where people enter their credit card details in a Zen Cart form as opposed to Pay Pal?

Thanks for your response - it makes me feel better about this just to have some help. But it looks like I might have a problem if I do want the whole site to be SSL?

It is only a small site - basically to take membership payments for a Womens Business Networking thing.

Dont have a huge product catalogue all being encrypted :)

programmer | designer
canny creative IT
https://www.creativeit.com.au

9 Oct 2006, 4:01 PM
#4
creativeit avatar

creativeit

New Zenner

Join Date:
Oct 2006
Location:
Riverview QLD
Posts:
10
Plugin Contributions:
0

Re: How do I get my SSL to work ?

hmmm, Zen Cart might be smart - though maybe not quite into the realm of AI :)

but it has the option for HTTPS_CATALOGUE - and that should cover pages where you are entering personal and identity related information...is that unreasonable?

programmer | designer
canny creative IT
https://www.creativeit.com.au

9 Oct 2006, 4:02 PM
#5
Kim avatar

Kim

Obaa-san

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

Re: How do I get my SSL to work ?

Do you have Zen Cart installed in a sub-directory? I have gone to the URL posted above and all I see is a huge "poster" (much larger than 1024x768)

What is the URL of the shop?

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.

9 Oct 2006, 4:07 PM
#7
creativeit avatar

creativeit

New Zenner

Join Date:
Oct 2006
Location:
Riverview QLD
Posts:
10
Plugin Contributions:
0

Re: How do I get my SSL to work ?

Got a certificate for both versions of the domains - if that makes any difference!

...And the jpg doesn't come up large on my screen - I have a wide-screen laptop though. There is actually plenty of white space around the image on my screen....good to know that it doesn't look like that to everyone, but only very temporary.

programmer | designer
canny creative IT
https://www.creativeit.com.au

9 Oct 2006, 4:12 PM
#8
Kim avatar

Kim

Obaa-san

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

Re: How do I get my SSL to work ?

https://www.zen-cart.com/tutorials/index.php?article=14

Perhaps review the steps in the tutorial.

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.

9 Oct 2006, 4:16 PM
#9
creativeit avatar

creativeit

New Zenner

Join Date:
Oct 2006
Location:
Riverview QLD
Posts:
10
Plugin Contributions:
0

Re: How do I get my SSL to work ?

Thank you so much for giving me this link - I have been looking on the Wiki site and on the forums everywhere but couldn't find this sort of thing.

Cheers!! (I hope it helps though)

programmer | designer
canny creative IT
https://www.creativeit.com.au

9 Oct 2006, 4:32 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: How do I get my SSL to work ?

You appear to be having issues in the Catalog but you posted the settings that are in the Admin /admin/includes/configure.php file vs the Catalog /includes/configure.php

Perhaps you are not checking the right file or have overwritten the Catalog configure.php with the Admin configure.php

Plus your defines end in the /

This leads me to believe you may have other settings off as well ...

If you could post your files, from the server, without your username and password for:
/includes/configure.php
/admin/includes/configure.php

It would help in identifying all of the problems ...

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 Oct 2006, 5:38 AM
#11
creativeit avatar

creativeit

New Zenner

Join Date:
Oct 2006
Location:
Riverview QLD
Posts:
10
Plugin Contributions:
0

Re: How do I get my SSL to work ?

Hi Linda,

Many thanks for your kind offer to look over my configure files!

Here is my admin/includes/configure.php file - with database login details taken out:

<?php // /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // Main webserver: eg, <http://localhost> - should not be empty for productive servers // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> // HTTP_CATALOG_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_CATALOG_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings */ define('HTTP_SERVER', 'http://allaboutwomen.com.au'); define('HTTPS_SERVER', 'https://allaboutwomen.com.au'); define('HTTP_CATALOG_SERVER', 'http://allaboutwomen.com.au'); define('HTTPS_CATALOG_SERVER', 'https://allaboutwomen.com.au'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'true'); define('ENABLE_SSL_ADMIN', 'false'); // 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', '/store/admin/'); define('DIR_WS_CATALOG', '/store/'); define('DIR_WS_HTTPS_ADMIN', '/store/admin/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', '/home/allabout/public_html/store/admin/'); define('DIR_FS_CATALOG', '/home/allabout/public_html/store/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '*********'); define('DB_SERVER_PASSWORD', '*********'); define('DB_DATABASE', '*********'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'database'); define('DIR_FS_SQL_CACHE', '/home/allabout/public_html/store/cache'); ?>

programmer | designer
canny creative IT
https://www.creativeit.com.au

10 Oct 2006, 5:41 AM
#12
creativeit avatar

creativeit

New Zenner

Join Date:
Oct 2006
Location:
Riverview QLD
Posts:
10
Plugin Contributions:
0

Re: How do I get my SSL to work ?

...and here is the includes/configure.php file below.

It would be very helpful if you can tell me whether what I want to achieve - secure pages for when customers are entering their personal details to create an account - is possible with Zen Cart.

<?php /** * * @package Configuration Settings * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> define('HTTP_SERVER', 'http://allaboutwomen.com.au'); define('HTTPS_SERVER', 'https://allaboutwomen.com.au'); // 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', '/store/'); define('DIR_WS_HTTPS_CATALOG', '/store/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/allabout/public_html/store/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'zen_'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', '********'); define('DB_SERVER_PASSWORD', '*******'); define('DB_DATABASE', '***********'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'database'); define('DIR_FS_SQL_CACHE', '/home/allabout/public_html/store/cache'); ?>

programmer | designer
canny creative IT
https://www.creativeit.com.au

10 Oct 2006, 6:15 AM
#13
ajeh avatar

ajeh

Oba-san

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

Re: How do I get my SSL to work ?

From what I can see ... you should be using the www in your URLs ... the certificate appears to be set to:
https://www.allaboutwomen.com.au

So all of your URLs in both configure.php files should read with the www included ...

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 Oct 2006, 7:46 AM
#14
creativeit avatar

creativeit

New Zenner

Join Date:
Oct 2006
Location:
Riverview QLD
Posts:
10
Plugin Contributions:
0

Re: How do I get my SSL to work ?

Hi Linda,

Thanks for much for your help with this - I donate to Zen Cart for every website that I develop using the software. This is only my second my there are more coming up soon :)


QUESTION: So I should be able to get Zen Cart to use https:// for the catalogue pages and the create account form?

Please just confirm whether this should be possible - I am assuming that it is - but would really appreciate you to confirm this. It is very important for me to know whether I can configure Zen Cart to stick with https:// so users know that their personal data is protected.


Also wanting confirmation because one user (Kim) told me that Zen Cart is smart and will automatically use https:// when it is required (but from my experience that didn't seem to include the account creation page)

Actually there is a certifcate installed to work with https://allaboutwomen.com.au. You can test this out with the url:

https://allaboutwomen.com.au/store/

I have a certificate installed for both www and without.

I chose to use the https://allaboutwomen.com.au - because I saw that by default Zen Cart is configured to link the catalogue pages without the www.

THANK YOU!

programmer | designer
canny creative IT
https://www.creativeit.com.au

5 Oct 2007, 11:58 PM
#15
stevefriedman71 avatar

stevefriedman71

Zen Follower

Join Date:
Sep 2006
Posts:
269
Plugin Contributions:
0

Re: How do I get my SSL to work ?

I'm using a SSL cert now and it is new. I did not receive a seal but a link that checks is the site is valid and secure or not. I put that link in the footer...
Now, i would like the seal ONLY to show up on secured pages... how do i do that? where can i get a list of pages that are affected by SSL (like the login)

6 Oct 2007, 12:26 AM
#16
Kim avatar

Kim

Obaa-san

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

Re: How do I get my SSL to work ?

Steve-

As a customer, I would feel better seeing the seal all of the time.

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.

6 Oct 2007, 12:29 AM
#17
stevefriedman71 avatar

stevefriedman71

Zen Follower

Join Date:
Sep 2006
Posts:
269
Plugin Contributions:
0

Re: How do I get my SSL to work ?

could you try my site with IE... IE basicly tells the customers that we are fraud... you have any clue what it may be???