Zen Cart Logo
Forums / Basic Configuration / Admin Login Clear Text after SSL installation

Admin Login Clear Text after SSL installation

Views: 956

Results 1 to 3 of 3
8 Dec 2014, 4:49 PM
#1
juggernautsei avatar

juggernautsei

New Zenner

Join Date:
Apr 2014
Location:
Virginia
Posts:
15
Plugin Contributions:
0

Admin Login Clear Text after SSL installation

Hi,

I purchased an SSL certificate and I have all pages being redirect to https.

When I log into the admin page, I get a dialog box stating the following.

Although this page is encrypted, the information you have entered is to be sent over an unencrypted connection and could easily be read by a third party.

Are you sure you want to continue sending this information?

I see the problem is that the form action is not being populated with the https version of the URL.
This line is not working right

echo "zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL');"

How do I turn this on? BTW:

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

Thanks

8 Dec 2014, 9:36 PM
#2
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: Admin Login Clear Text after SSL installation

Have you updated your configure.php files to reflect the forced use of HTTPS for all pages?

Please post all of your configure.php files (obscure the db info) using code tags (the # button in the editor).

13 Dec 2014, 4:14 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: Admin Login Clear Text after SSL installation

For the ENABLE_SSL defines to have any effect:

  1. storefront configure.php needs HTTPS_SERVER to have your new SSL URL in it.
  2. admin configure.php needs the SSL URL in both the HTTP_SERVER and HTTPS_SERVER defines.

AND REMEMBER: The 2 configure.php files do look similar, but the admin side has several differences from the storefront side, so don't mix the files up.

ALSO: the configure.php files get set to read-only on the server, so if you "thought" you made changes but they didn't "take" it could be that you need to make the files writable before changing their contents.

All explained in the FAQ article on the subject: http://www.zen-cart.com/content.php?56-how-do-i-enable-ssl-after-i-have-installed-zen-cart