Using SSL and Apache on Windows together

99 views
Skip to first unread message

Robert Jonathan Šimon

unread,
Feb 9, 2014, 9:43:16 AM2/9/14
to django...@googlegroups.com
I was trying to find something on the web, but i didnt found anything. I want to use HTTPS with my Django project on Windows server. I have installed Django 1.6 a Python 3.3 64Bit. How can i configure SSL connection, and are there any problems with it?
Thank for all the help

François Schiettecatte

unread,
Feb 9, 2014, 9:48:10 AM2/9/14
to django...@googlegroups.com
Jonathan

SSL is not something that is handled by Django but is further up the stack, you should check how to implement SSL with your Windows Server.

François

On Feb 9, 2014, at 6:43 AM, Robert Jonathan Šimon <berti...@gmail.com> wrote:

> I was trying to find something on the web, but i didnt found anything. I want to use HTTPS with my Django project on Windows server. I have installed Django 1.6 a Python 3.3 64Bit. How can i configure SSL connection, and are there any problems with it?
> Thank for all the help
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1d85a52d-07a9-4487-baf6-41380c230c1a%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

signature.asc

Arnold Krille

unread,
Feb 9, 2014, 10:35:23 AM2/9/14
to django...@googlegroups.com
On Sun, 9 Feb 2014 06:48:10 -0800 François Schiettecatte
<fschiet...@gmail.com> wrote:
> SSL is not something that is handled by Django but is further up the
> stack, you should check how to implement SSL with your Windows Server.

Actually its not that high (or low) on the stack. You don't configure
SSL in the OS (windows in this case), you configure it on the
web-server (apache in this case). And there are plenty of apache
documentation for that.

- Arnold
signature.asc

Michael Manfre

unread,
Feb 10, 2014, 9:13:53 AM2/10/14
to django...@googlegroups.com
There isn't anything special about setting up Apache with SSL for use with Django. There are plenty of easy to finds tutorials about configuring Apache [1]. 

I gave a talk about running a Django project on Windows using Apache [2]. I ran in to performance issues due to the GIL and Apache on Windows being thread based, instead of process based. Sadly, there is no video from the talk, but the slides have plenty of information to get you headed in the right direction. If possible, try to use something other than Apache as the SSL end point, such as haproxy.


Regards,
Michael Manfre
Reply all
Reply to author
Forward
0 new messages