Questions tagged [django-sslify]

django-sslify is a pluggable django app that forces SSL on a Django site

django-sslify is a pluggable django app that forces SSL on a Django site

9 questions
4
votes
1 answer

How to use django-sslify to force https on my Django+nginx+gunicorn web app, and rely on Cloudflare's new free SSL?

Intro Cloudflare's providing SSL for free now, and I would be a fool to not take advantage of this on my site, and a downright dickhead to break everything in the process of trying to. I can code apps just fine, but when it comes to setting up or…
gx14
  • 263
  • 2
  • 13
2
votes
1 answer

Secure Connection, NSURLSession to Django Rest API

More of a question of understanding rather than looking for a technical solution. I'm on a team working to build an iOS application that needs database support. We're using Swift for the application code. A Django REST API wraps a MySQL database on…
Freestyle076
  • 1,548
  • 19
  • 36
2
votes
1 answer

Django defaulting to HTTPS

I have a working django install with django-sslify and it correctly HTTPS my urls but with inconsistent behaviour. For example, if I type socialspark.spuro.org it takes me to an HTTP page. If I type socialspark.spuro.org/something it takes me to an…
tsurantino
  • 1,027
  • 13
  • 27
1
vote
1 answer

django-allauth running in SSL

I am able to setup django-allauth with social login using this tutorial. However I need running all my website in https. Can django-allauth be successfully and reliably used with django-sslify?
baltasvejas
  • 1,698
  • 2
  • 17
  • 18
0
votes
0 answers

How to monitor if the django sslserver is down

We are starting our server using django using the below command and it works fine. Python3 ./manage.py runsslserver www.abc.com:8443 —certificate abc.vet —key abc.pem But sometimes it automatically crashes . I would like to understand about how to…
user2256825
  • 594
  • 6
  • 22
0
votes
1 answer

How to safely redirect to HTTPS on Django app not behind a proxy?

essentially, I want to turn SECURE_SSL_REDIRECT to true. but reading through the django docs, I get the impression this can compromise the projects security if it's not behind a proxy. am I understanding that correctly, and if so, how should I go…
0
votes
1 answer

Django SSL server

I am using Django 2.2, I want to enable https in it. I have installed Django-SSL server and I have the certificate and the private key. I am running the script like: python manage.py runsslserver --certificate /path/to/certificate.pem --key…
0
votes
0 answers

Setup SSL for Django with gunicorn on Debian 9 on Compute Engine

I am working on a project which has been deployed on compute engine on Debian 9 VM instance. Here's are the steps I have performed: Create Instance and ssh into Install Python (3.6) directly by using these commands: sudo apt-get update && sudo…
Abdul Rehman
  • 5,326
  • 9
  • 77
  • 150
0
votes
0 answers

Django sslserver (https) is getting slow gradually

I installed secure connection to django server with the help of django ssl server. It was working properly with minimum margin speed between http and https connection. Gradually after adding code more and more day by day, I could see the https…