Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,166
    Plugin Contributions
    7

    Default Re: xampp and Zen Cart Admin with SSL

    Quote Originally Posted by marton_1 View Post
    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.
    This is testing whether your site can access external sites using SSL. It says nothing about whether external sites can access your site using SSL.

    Cheers
    RodG
    Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

  2. #12
    Join Date
    Jan 2004
    Posts
    64,747
    Blog Entries
    6
    Plugin Contributions
    214

    Default Re: xampp and Admin with SSL

    Some things, like payment modules, are always better tested on a real webserver, not a mock server such as Xampp.
    For SSL on xampp, you'll need to set up your own SSL. And if you do it with a self-signed certificate, then most of your payment modules will still fail because they expect authentic SSL, not self-signed SSL.

    For payment modules, just go direct to a real server. Don't try to use them on a local PC.
    .

    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.

  3. #13
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,166
    Plugin Contributions
    7

    Default Re: xampp and Admin with SSL

    Quote Originally Posted by marton_1 View Post
    This site canít provide a secure connection
    localhost sent an invalid response.
    Have you created and installed a certificate for 'localhost' - or are you trying to use the certificate for 'www.your_site.com' ?

    Cheers
    RodG
    Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

  4. #14
    Join Date
    Aug 2007
    Location
    Gijůn, Asturias, Spain
    Posts
    1,724
    Plugin Contributions
    25

    Default Re: xampp and Admin with SSL

    While you can indeed have your local server working with the outside world as though it is on a real server, there are several hoops you have to jump through to get there. Since the times you really need such a setup are so rare, it really is not worth the time and effort (and risk) to get it working compared to the ease of setting up a real development server (a duplicate of your real shop on your hosting).
    I jumped though all those hoops through sheer bloody mindedness but rarely use it. I do however have my local servers set up as virtual hosts. I found that was necessary for uri-rewriting to work locally.
    Steve
    github.com/torvista: Apsona (php7), BackupMySQL Admin/Auto, CEON URI Mapping (php7), Image Checker, Redsys payment module, Spanish Language Pack, Structured Data

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

    Default Re: xampp and Admin with SSL

    Thanks everyone for your help.
    As suggested I will switch to doing my testing on a real server :)

  6. #16
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,166
    Plugin Contributions
    7

    Default Re: xampp and Admin with SSL

    Quote Originally Posted by marton_1 View Post
    Thanks everyone for your help.
    As suggested I will switch to doing my testing on a real server :)
    This is most certainly the best way to save a little sanity - Unless you wish to become a network engineer as well as a web developer :)

    Quote Originally Posted by torvista View Post
    While you can indeed have your local server working with the outside world as though it is on a real server, there are several hoops you have to jump through to get there. Since the times you really need such a setup are so rare, it really is not worth the time and effort (and risk) to get it working compared to the ease of setting up a real development server (a duplicate of your real shop on your hosting).
    Agreed. 100%

    Quote Originally Posted by marton_1 View Post
    I jumped though all those hoops through sheer bloody mindedness but rarely use it. I do however have my local servers set up as virtual hosts. I found that was necessary for uri-rewriting to work locally.
    I however, went through those hoops *many* years ago and to this very day not only use it for local development but we also serve some of our webpages (and all of our live camera feeds) directly from computers on our home network to the public internet. This wasn't/isn't out of bloody mindedness though, it is a matter of economics.
    Back in the day we even used to host customers websites on our own computers - A practice we stopped doing when it became cheaper (and far less work) to use shared/3rd party hosting than it was to maintain our own hardware.

    It is still more practical (and economical) to use our own computers for some/many things though, and although you mention risk as being a factor, which I don't disagree with, I can say with 100% confidence that our LAN based servers are far more secure than any 3rd party server could ever be, which is one of the reasons we still use them.

    Having said that, I do agree with you 100% that there are hoops to jump through and the need for such as setup is rare and not worth the time or effort, at least for most folk - but it also saddens me that by avoiding this also increases ignorance in regards to how the internet actually functions - I don't say this to cause any offence to anyone - but from a *security* perspective I do find it a bit of a worry.

    Cheers
    RodG
    Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

  7. #17
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    957
    Plugin Contributions
    1

    Default Re: xampp and Admin with SSL

    Quote Originally Posted by marton_1 View Post
    Thanks everyone for your help.
    As suggested I will switch to doing my testing on a real server :)
    marton,
    if you are changing your development environment, i am a big fan of using virtualBox on your local machine and then using vagrant for a pre-built LAMP stack. i use this box as it is relatively easy:

    https://box.scotch.io/

    you can then put all of your code under version control, ie git, set up remote repository in a place like bitbucket. and then deploying any code changes becomes rather easy.

    its a bunch of work to get your development environment set up just right, but once you get your work flow together, its way easier with real good audit trails.

    good luck in whatever you decide to do.
    feel free to donate money to carl or to the Zen-Cart Team

 

 
Page 2 of 2 FirstFirst 12

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