Part of the EllisLab Network
   
 
https on local environment
Posted: 02 July 2009 01:03 PM   [ Ignore ]  
Summer Student
Total Posts:  20
Joined  12-07-2008

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

Profile
 
 
Posted: 02 July 2009 02:44 PM   [ Ignore ]   [ # 1 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  3782
Joined  04-25-2008

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 here

 Signature 

Remember the 8 Ps: Perfect Planning and Prior Preparation Prevents Piss-Poor Performance.


Not sure where to start with your project? Need some inspiration? Check out my CodeIgniter Resources thread

Profile
 
 
Posted: 04 July 2009 01:37 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  20
Joined  12-07-2008

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.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120296 Total Logged-in Users: 49
Total Topics: 126414 Total Anonymous Users: 5
Total Replies: 664813 Total Guests: 447
Total Posts: 791227    
Members ( View Memberlist )