Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an easy way to test SSL protected webpages in Development server, using Django?

I use Django for my website and I want to know whether there is a work around for testing secure pages in Development server. As a temporary workaround, I wont use HTTP to check the webpages in dev server, which I think is not a correct way? What do you think?

like image 770
None-da Avatar asked Jan 05 '09 16:01

None-da


1 Answers

You might consider mod_wsgi, since it can be used for development, testing, and deployment. mod_wsgi can be configured to detect any changes to you make to your Python code and automatically restart, same as the development server.

I tend to do most of my development on my local machine, but use an actual reference implementation server for testing. It's running mod_wsgi under apache, with a self-signed certificate. A recent detailed article by Graham Dumpleton is available here:

http://blog.dscpl.com.au/2008/12/using-modwsgi-when-developing-django.html

like image 111
Jeff Bauer Avatar answered Nov 15 '22 01:11

Jeff Bauer