Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    309
    Plugin Contributions
    0

    Default xampp and Admin with SSL

    I am running ZC 155d on my W10 PC using xampp for my test site.

    When I set configure.php in Catalog/includes as SSL then everything works fine.
    When I run www.your_site.com/extras/curltester.php then I get a couple of pages of "goods".
    I have Paypal as one of my payment methods and that works OK

    When I set configure.php in Catalog/admin/includes as SSL then I get the following error messages.

    Chrome
    This site can’t provide a secure connection
    localhost sent an invalid response.

    MSEdge
    Cannot securely connect to this page
    This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website’s owner.

    Any suggestions welcome, I am posting this because I just installed Braintree plug in and it give an SSL error message so might be connected?

    I am using ApacheFriends XAMPP Version 5.6.24 ######

    + Apache 2.4.23
    + MariaDB 10.1.16
    + PHP 5.6.24 (VC11 X86 32bit thread safe) + PEAR
    + phpMyAdmin 4.5.1
    + OpenSSL 1.0.2d
    + ADOdb 518a
    + Mercury Mail Transport System v4.63 (not included in the portable version)
    + FileZilla FTP Server 0.9.41 (not included in the portable version)
    + Webalizer 2.23-04 (not included in the portable version)
    + Strawberry Perl 5.16.1.1 Portable
    + Tomcat 7.0.56
    + XAMPP Control Panel Version 3.2.2 by hackattack142 (Great Thanks!!))
    See: http://www.apachefriends.org/f/viewt...p?f=16&t=46743
    + XAMPP mailToDisk 1.0 (write emails via PHP on local disk in <xampp>\mailoutput. Activated in the php.ini as mail default.)

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    955
    Plugin Contributions
    1

    Default Re: xampp and Zen Cart Admin with SSL

    you can try the solution listed here:

    http://www.chasewoodford.com/blog/fi...google-chrome/
    feel free to donate money to carl or to the Zen-Cart Team

  3. #3
    Join Date
    Jul 2012
    Posts
    11,620
    Plugin Contributions
    13

    Default Re: xampp and Zen Cart Admin with SSL

    When you say that in catalog/admin/includes/configure.php that the system is set to use SSL, please identify what that means is set to you?

    Ie. What are the various server constants and the SSL_ related constants?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  4. #4
    Join Date
    Dec 2007
    Location
    Acton, California
    Posts
    606
    Plugin Contributions
    6

    Default Re: xampp and Zen Cart Admin with SSL

    Quote Originally Posted by marton_1 View Post
    I am running ZC 155d on my W10 PC using xampp for my test site.

    I am using ApacheFriends XAMPP Version 5.6.24
    Out of the box, xampp is not secured unless you follow the How to Secure instructions. Also it does not come with a certificate installed so any requests for SSL is not going to work. There are instructions on ApacheFriends forum and also if you Google for it, on creating, signing and installing self signed certificates. Even then browsers well complain that its self signed and not from an outside singer.

    If you did all this already, then as per MC comments, its something in the config files..
    Dave
    Working on a new project... MySite..

  5. #5
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    309
    Plugin Contributions
    0

    Default Re: xampp and Zen Cart Admin with SSL

    Quote Originally Posted by mc12345678 View Post
    When you say that in catalog/admin/includes/configure.php that the system is set to use SSL, please identify what that means is set to you?

    Ie. What are the various server constants and the SSL_ related constants?
    I meant
    define('HTTP_SERVER', 'https://localhost:8080');
    define('HTTPS_CATALOG_SERVER', 'https://localhost:8080');
    define('DIR_WS_HTTPS_CATALOG', '/zencart155d/catalog/');

    Cheers

  6. #6
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    309
    Plugin Contributions
    0

    Default Re: xampp and Zen Cart Admin with SSL

    Quote Originally Posted by carlwhat View Post
    you can try the solution listed here:

    http://www.chasewoodford.com/blog/fi...google-chrome/
    Tried that, good ides but did not fix it. I have the same problem with MSEdge

  7. #7
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,391
    Plugin Contributions
    0

    Default Re: xampp and Zen Cart Admin with SSL

    search "install ssl certificate for localhost xampp" in google
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  8. #8
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    309
    Plugin Contributions
    0

    Default Re: xampp and Zen Cart Admin with SSL

    As I wrote in my original post, PayPal (which requires SSL) payment method works fine in my xampp test site so clearly the SSL certificate was correctly installed.

  9. #9
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    1,724
    Plugin Contributions
    25

    Default Re: xampp and Zen Cart Admin with SSL

    Are you using a dynamic dns service to allow Paypal to access your local server to complete the order?
    I ask, as your configure settings indicate not, but you say Paypal works i.e. it completes the order.
    Steve
    github.com/torvista: Apsona (php7), BackupMySQL Admin/Auto, CEON URI Mapping (php7), Image Checker, Redsys payment module, Spanish Language Pack, Structured Data

  10. #10
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    309
    Plugin Contributions
    0

    Default Re: xampp and Zen Cart Admin with SSL

    Quote Originally Posted by torvista View Post
    Are you using a dynamic dns service to allow Paypal to access your local server to complete the order?
    I ask, as your configure settings indicate not, but you say Paypal works i.e. it completes the order.
    No,
    as I wrote in my original post when I test SSL by running www.your_site.com/extras/curltester.php then I get a couple of pages of "goods" and no negatives.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Problem With cURL on XAMPP and Windows 7
    By Grumpy One in forum Installing on a Windows Server
    Replies: 3
    Last Post: 22 Sep 2011, 12:14 PM
  2. Problem with SSL and Admin Settings.
    By g6enterprises in forum General Questions
    Replies: 1
    Last Post: 26 Nov 2008, 10:15 AM
  3. Help with SSL and Admin Page Not Working
    By chuck68tx in forum Basic Configuration
    Replies: 6
    Last Post: 22 Aug 2008, 05:37 AM
  4. Problem with admin and SSL
    By RobWUK in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 9 Jan 2008, 08:42 PM
  5. Issues with Vista 32/64bit and XAMPP?
    By AliceK in forum Installing on a Windows Server
    Replies: 8
    Last Post: 13 Sep 2007, 04:39 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR