Forums / Basic Configuration / SLL Issue with setting up payment

SLL Issue with setting up payment

Started by ricor on 10 May 2012, 1:51 PM · Views: 2,034

Results 1 to 7 of 7
10 May 2012, 1:51 PM
#1
ricor avatar

ricor

New Zenner

Join Date:
May 2012
Posts:
21
Plugin Contributions:
0

SLL Issue with setting up payment

When I try to set up payment with First Data, I receive an error

ALERT: For security reasons, Installation of this module is disabled until your Admin is configured for SSL.

I follow the instructions as follows

Change includes/configure.php and admin/includes/configure.php to:

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

Having done both of these, I still receive the error message that Admin is not configured for SSL.

I have tested the site, https://www.apaspca.org and the ssl is working.

Any advice?

Thanks!

10 May 2012, 2:21 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: SLL Issue with setting up payment

For your Admin configure.php file you need to set the HTTP_SERVER to an https:// value.
It's explained here, if you read the whole article:
http://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart

.
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.

10 May 2012, 5:11 PM
#3
ricor avatar

ricor

New Zenner

Join Date:
May 2012
Posts:
21
Plugin Contributions:
0

Re: SLL Issue with setting up payment

DrByte:

For your Admin configure.php file you need to set the HTTP_SERVER to an https:// value.
It's explained here, if you read the whole article:
http://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart

My configure.php files both look like this

define('HTTP_SERVER', 'http://apaspca.org');
define('HTTPS_SERVER', 'https://apaspca.org');

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


define('HTTP_SERVER', 'http://apaspca.org');
define('HTTPS_SERVER', 'https://apaspca.org');
define('HTTP_CATALOG_SERVER', 'http://apaspca.org');
define('HTTPS_CATALOG_SERVER', 'https://apaspca.org');

// secure webserver for admin? Valid choices are 'true' or 'false' (including quotes).
define('ENABLE_SSL_ADMIN', 'true');

Did I do something wrong?

Also, the permissions of the configure.php are set to rw-r---- (or 640) is that correct?

Thanks!

10 May 2012, 11:25 PM
#4
ricor avatar

ricor

New Zenner

Join Date:
May 2012
Posts:
21
Plugin Contributions:
0

Re: SLL Issue with setting up payment

I have read the article http://www.zen-cart.com/content.php?...alled-zen-cart a dozen times, I do not see that I missed anything. Does anyone have any ideas? Should I delete and re-install the entire installation?

11 May 2012, 1:09 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: SLL Issue with setting up payment

I told you already: your admin version of configure.php needs your HTTP_SERVER to have an https address in it. You just showed me that you're still using an http address in it. That's what's missing.

And leave the non-admin version of configure.php alone.

.
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.

13 May 2012, 7:42 AM
#6
schoolboy avatar

schoolboy

Totally Zenned

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

Re: SLL Issue with setting up payment

You have:

define('HTTP_SERVER', 'http://apaspca.org');
define('HTTPS_SERVER', 'https://apaspca.org');

You need:

define('HTTP_SERVER', 'https://apaspca.org');
define('HTTPS_SERVER', 'https://apaspca.org');

(See the "s" in BOLD)

Make the change ONLY in the admin's configure php file.

20 years a Zencart User

5 Jun 2012, 8:54 PM
#7
corygatz avatar

corygatz

New Zenner

Join Date:
Sep 2009
Posts:
71
Plugin Contributions:
0

Re: SLL Issue with setting up payment

This worked perfectly for me! Thanks for the help.