CodeIgniter Forums
https on local environment - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: https on local environment (/showthread.php?tid=20236)



https on local environment - El Forum - 07-02-2009

[eluser]theQco[/eluser]
Hey everyone,

I'm trying to figure out a way to use https with my localhost to test the code before I put it up on the server. Since it is just a test environment it doesn't matter if there is a self-signed certificate. I tried following this tutorial: http://developer.apple.com/internet/serverside/modssl.html, but I couldn't get it to work. I'm developing on OS 10.5.7.

Is it possible to edit the httpd.conf file to listen on port 443 but not actually have a certificate present?

Any thoughts/insights/help would be greatly appreciated.

Thanks!

Brian


https on local environment - El Forum - 07-02-2009

[eluser]TheFuzzy0ne[/eluser]
I'm sure it's possible to configure Apache to listen on port 443 easily enough, but it would probably be wiser to just generate a certificate. It's possible to generate your own certificate (which will be flagged by your browser as not being a certificate from a trusted source).

Are you using XAMP? If so, follow the steps outlined [url="http://robsnotebook.com/xampp-ssl-encrypt-passwords"]here[/url]


https on local environment - El Forum - 07-04-2009

[eluser]theQco[/eluser]
Thanks for the response. I was trying to do it through the Apache server that comes with OS X. But I have switched over to XAMPP and I am really happy with how easy it was to setup. Works great now.