1cookie Posted March 27, 2012 Share Posted March 27, 2012 hi I'm just at page 282, chapter 10. Now you can test the checkout.php process. If you fill out the form incorrectly, it will be displayed again (Figure 10.13). If you fill it out correctly, you'll be sent to billing.php, which will be written next. I can't get to checkout.php over https on my localserver? https://localhost/coffeeLatte/checkout.php?session=c3e7255a9ec227b4c73b39af5c726792 Is this as expected? Link to comment Share on other sites More sharing options...
margaux Posted March 27, 2012 Share Posted March 27, 2012 Yes - I have been told that it is possible to configure localhost (are you using xamp or mamp?) to use https, but I have not had the time to look into it. If you find out how to do so, perhaps you could share how to do so? Link to comment Share on other sites More sharing options...
1cookie Posted March 28, 2012 Author Share Posted March 28, 2012 Yes - I have been told that it is possible to configure localhost (are you using xamp or mamp?) to use https, Indeed, that's my understanding. I'm using WAMP, but have access to Ubuntu (LAMP) also.If you find out how to do so, perhaps you could share how to do so? sure... Link to comment Share on other sites More sharing options...
theaceofthespade Posted April 1, 2012 Share Posted April 1, 2012 In xampp, it's in the settings you get to from the sidebar's homescreen. It comes with it's own test certificate (it will light your browser up with warnings like a christmas tree, but it works for testing). So I haven't messed with lamp, but I did find this: http://www.phpjoel.com/2011/04/07/installing-ssl-using-openssl-on-a-wamp-localhost/ 1 Link to comment Share on other sites More sharing options...
1cookie Posted April 2, 2012 Author Share Posted April 2, 2012 In xampp, it's in the settings you get to from the sidebar's homescreen. It comes with it's own test certificate (it will light your browser up with warnings like a christmas tree, but it works for testing). So I haven't messed with lamp, but I did find this: http://www.phpjoel.c...wamp-localhost/ thanks. What I have learnt is that if you want SSL encryption on ones localhost machine then it's going to involve creating your own digital certificates. Link to comment Share on other sites More sharing options...
1cookie Posted April 4, 2012 Author Share Posted April 4, 2012 If your using Linux, I found this to be a very good tutorial: https://www.linux.com/learn/tutorials/392099:creating-self-signed-ssl-certificates-for-apache-on-linux Link to comment Share on other sites More sharing options...
Recommended Posts