Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    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

  2. #12
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    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,167
    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

  4. #14
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,571
    Plugin Contributions
    30

    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: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  5. #15
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    567
    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,167
    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

  7. #17
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    11

    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.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
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