Securing your django application with letsencrypt and django-sslify
Step 1
$ sudo apt-get update
$ sudo apt-get -y install git bc
Step 2
$ git clone https://github.com/letsencrypt/letsencrypt
$ cd letsencrypt
$ ./letsencrypt-auto --help
Step 3
$ cd letsencrypt
$ letsencrypt --apache
Step 4
$ cd letsencrypt
$ letsencrypt certonly --webroot -w /var/www/example -d example.com
Step 5
pip install django-sslify
Step 6
MIDDLEWARE_CLASSES = (
'sslify.middleware.SSLifyMiddleware',
# ...
)