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',
    # ...
)
                    
Madra David
Madra David
2 minute read
TFT

Share this article

Next Post

Documenting your Django application with sphinx

Previous Post

Sending email from your Django application with Mailgun

I send out tips on how to improve your website's performance

Find new customers and prospects in less than 30 seconds.
Build outbound email prospecting lists in seconds.

I send out tips on how to improve your website's performance

user-image

Published mars 25 2016

by Madra David