Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default SSL Warning - which doesn't belong to bugs or hacks

    I just installed Zen Cart on my web host's space, using Fantastico (I initially tried to do it manually but failed). Fantastico worked great for me.

    However, there is an unclear problem (is it really a problem?) regarding login into the store's admin account, using https://mydomain/shop/admin/login.php .

    When I type my admin userid and password and click login, Firefox warns me with the following message:

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

    Are you sure you want to continue sending this information?
    Now... wouldn't the userid and password be encrypted even if I didn't use https?

    If not, how come Zen Cart can offer password encryption for shoppers but for the store admin?

    Or am I missing something? What am I missing?

    Thanks,
    Daniel

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Security Issue which doesn't belong to bugs or hacks

    Have a look at your admin/includes/configure.php file for ssl settings

  3. #3
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: Security Issue which doesn't belong to bugs or hacks

    Quote Originally Posted by kobra View Post
    Have a look at your admin/includes/configure.php file for ssl settings
    Thank you! I didn't know about this.

    I now read that section's comment:

    PHP Code:
       /* If you desire your *entire* admin to be SSL-protected,
            make sure you use a "https:" URL for all 4 of \
            the following:
       */
      
    define('HTTP_SERVER''http://mydomain.com');
      
    define('HTTPS_SERVER''https://mydomain.com');
      
    define('HTTP_CATALOG_SERVER''http://mydomain.com');
      
    define('HTTPS_CATALOG_SERVER''https://mydomain.com'); 
    Which raises two new questions:
    1. If I don't make my *entire* admin SSL-protected, does this mean that my password is transmitted over the Internet in CLEAR TEXT every time I login to my admin account?
    2. If my SSL certificate is for https://secure.mydomain.com do I have to change the 2nd and 4th lines accordingly?


    Thanks,
    Daniel

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Security Issue which doesn't belong to bugs or hacks

    A standard Cert is issued to a specific domain name and little things like www or not are differences that will throw an error

    You state your cert is issued to secure.mydomain.com and if your Zen Cart is not there but at mydomain.com or www.mydomain.com you and your customers will receive a warning

    I was really referring to the entries a few lines below that are
    Code:
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'false');
      define('ENABLE_SSL_ADMIN', 'true');
    This will address your login user & pass being encrypted with a proper Certificate

  5. #5
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: Security Issue which doesn't belong to bugs or hacks

    kobra, thank you so much for your help.

    Quote Originally Posted by kobra View Post
    PHP Code:
       define('ENABLE_SSL_ADMIN''true'); 
    This will address your login user & pass being encrypted with a proper Certificate
    Indeed, this line was set to 'false'. I changed it to 'true' and now I am prompted for login while the lower-right padlock symbol is on.

    Now I am curious: Does that mean that when this setting is 'false', admin login & pass are transmitted clear text? If so, what is the reason for having this setting 'false' by default?


    Quote Originally Posted by kobra View Post
    You state your cert is issued to secure.mydomain.com and if your Zen Cart is not there but at mydomain.com or www.mydomain.com you and your customers will receive a warning
    Yes, I noticed that. If I want to configure the system so that my customers don't receive a warning, is it enough to change only the following line?

    PHP Code:
      define('HTTPS_SERVER''https://mydomain.com'); 
    to
    PHP Code:
      define('HTTPS_SERVER''https://secure.mydomain.com'); 
    Thanks,
    Daniel

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Security Issue which doesn't belong to bugs or hacks

    Now I am curious: Does that mean that when this setting is 'false', admin login & pass are transmitted clear text? If so, what is the reason for having this setting 'false' by default?
    SSL Certificate is required to enable this functionality and this is a seperate item from Zen Cart and not all uses of the script require SSL i.e. a Showcase and therefore an SSL might not be utilized

  7. #7
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    help question Re: Security Issue which doesn't belong to bugs or hacks

    Quote Originally Posted by kobra View Post
    SSL Certificate is required to enable this functionality and this is a separate item from Zen Cart and not all uses of the script require SSL i.e. a Showcase and therefore an SSL might not be utilized
    OK, this makes sense. I also incur from this that when this setting is 'false', admin login & pass are transmitted clear text even if an SSL certificate is installed. Am I correct in my understanding?


    As for my last question, if I want to configure the system so that my customers don't receive a warning (let's ignore admin for now), is it enough to change only the following line?

    PHP Code:
      define('HTTPS_SERVER''https://mydomain.com'); 
    to
    PHP Code:
      define('HTTPS_SERVER''https://secure.mydomain.com'); 
    Thanks,
    Daniel

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: SSL Warning - which doesn't belong to bugs or hacks

    As you should know - without encryption all data is transmitted in clear text by definition

    As for your other issue - you need to determine this with your host and your admin files will have to exist in your subdomain at a minimum

  9. #9
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: SSL Warning - which doesn't belong to bugs or hacks

    Quote Originally Posted by kobra View Post
    As you should know - without encryption all data is transmitted in clear text by definition
    Of course. I was actually referring to a common "technique", used by some web sites in which the submission of the userid+password is encrypted although the page (in which the form that prompts for the userid/password) isn't. I understand that this isn't the case with Zen Cart. That's good to know.

    Thank you very much for your clarifications.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 5 Dec 2010, 01:31 AM
  2. any programs to identify that is belong to which script?
    By andrewmax81 in forum General Questions
    Replies: 4
    Last Post: 5 Dec 2009, 07:39 AM
  3. How to list products which belong to top category?
    By alvalong in forum General Questions
    Replies: 1
    Last Post: 28 Jul 2008, 08:29 PM
  4. Which SSL Certifications
    By Kruna in forum General Questions
    Replies: 4
    Last Post: 9 Nov 2006, 11:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg