• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
https on local environment

#1
[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/serv...odssl.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

#2
[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]

#3
[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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.