Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Feb 2011
    Posts
    42
    Plugin Contributions
    0

    Default Enabling SSL on an existing store

    I have installed an SSL cert. and everything is working fine on hosting side and confirmed the site loads under https:// I went ahead and did this tutorial here http://www.zen-cart.com/content.php?...sl-in-zen-cart and nothing is working or redirecting to the secure domain. Is there something I am forgetting or not doing right? Here is the link to both stores, any help would be awesome.

    http://debbiescraftcorner.com/index.php?main_page=
    https://debbiescraftcorner.com/index.php?main_page=

  2. #2
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Enabling SSL on an existing zencart

    It's working correctly. Only pages that need to be secure use https. Click on the log in link to see it working.

  3. #3
    Join Date
    Feb 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: Enabling SSL on an existing zencart

    So the categories won't come up as secure only the main page? I also see there isn't a green bar that should be there, and how to I redirect to the secure site? Sorry new to all this.

  4. #4
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Enabling SSL on an existing zencart

    Only pages related to customer information like account pages or the checkout process will load with https. If you wanted all pages to load that way (and I don't know why you would) then you would need to modify the config files to change both the http and https server to https.

    define('HTTP_SERVER', 'https://yourdomain.com');
    define('HTTPS_SERVER', 'https://yourdomain.com');

  5. #5
    Join Date
    Feb 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: Enabling SSL on an existing zencart

    Oh no that is fine and thank you so much for helping, would you know how to redirect the http to the https, I thought changing the config files would do that automatically.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Enabling SSL on an existing zencart

    Quote Originally Posted by NJfire View Post
    Oh no that is fine and thank you so much for helping, would you know how to redirect the http to the https, I thought changing the config files would do that automatically.
    So again, generally speaking there is no need to have every page load with the ssl. If the desire is to have every page to the ssl, then as badarac indicated, the hhtp_server and https_server values would need to be updated to include https:.

    If the. Issue is that the login page for example is not being presented using https, then in the includes/configure.php file is a setting for using a secure connection (ssl) that is probably set to false. To save the change to be made to that file, you will need to make the file writable using permissions of 644. Then open the file, change 'false to 'true', save the file, then restore the permissions of the file to 444.

    A similar change is needed in the admin configure.php file, but there are two such settings. One for the catalog and one for the admin. Also in the admin, three of the four server listings should be modified to include https:, the only one that should not have https is the http_catalog_server...

    Forgot to mention that I think under these settings that unless the target to arrive at is required to be Secure when a ssl is available, then the next jump in the site would change to a secure address. Otherwise, an .htaccess file could be written and added to redirect all traffic to https if that too is so desire, but that really isn't necessary either.
    Last edited by mc12345678; 10 Mar 2015 at 05:20 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Feb 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: Enabling SSL on an existing zencart

    Quote Originally Posted by mc12345678 View Post
    Forgot to mention that I think under these settings that unless the target to arrive at is required to be Secure when a ssl is available, then the next jump in the site would change to a secure address. Otherwise, an .htaccess file could be written and added to redirect all traffic to https if that too is so desire, but that really isn't necessary either.
    Is there a setting in the acp to do this, without having to add .htaccess. I have done everything you stated and changed permissions back.

  8. #8
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Enabling SSL on an existing zencart

    If what you're asking/wanting is to use https on all pages of the website then the change to the config file is the way to do it. No .htaccess file required. Perhaps my post was not clear. What you need to do is edit the config file changing http to https.
    Change this:
    define('HTTP_SERVER', 'http://yourdomain.com');
    define('HTTPS_SERVER', 'https://yourdomain.com');

    To this:
    define('HTTP_SERVER', 'https://yourdomain.com'); <----------- This is where the change is made from http to https
    define('HTTPS_SERVER', 'https://yourdomain.com');

  9. #9
    Join Date
    Feb 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: Enabling SSL on an existing zencart

    I have done that as you explained, the problem I am having is the main site page isn't showing as https everything else is working fine. I thank you you very much for all the help, I just can't figure out how to get the main page to the secure one. I have done all the edits on the files and that all is working great.

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Enabling SSL on an existing zencart

    You need to fix the section containing: /facebook-icon.png

    The calls are to the images using http:// regardless of if SSL or non-SSL
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Enabling SSL question
    By Miff in forum General Questions
    Replies: 2
    Last Post: 30 Nov 2010, 09:41 PM
  2. Enabling SSL
    By pod166 in forum General Questions
    Replies: 7
    Last Post: 12 Oct 2007, 12:25 PM
  3. Enabling SSL
    By webopt in forum General Questions
    Replies: 1
    Last Post: 9 Sep 2007, 05:11 AM

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