Socket
Socket
Sign inDemoInstall

django-autocert

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-autocert

Automatic SSL certificates from Let's Encrypt for Django projects


Maintainers
1

Django Autocert is a Django app to automatically obtain and renew X.509 (i.e. TLS or SSL) certificates from Let's Encrypt or other certificate authorities that support the ACME protocol <https://en.wikipedia.org/wiki/Automated_Certificate_Management_Environment>__.

Requirements

  • Django >=1.8
  • django.contrib.sites in your INSTALLED_APPS

Installation

#. pip install django-autocert #. Add autocert to INSTALLED_APPS #. Add autocert.middleware.AcmeChallengeMiddleware to MIDDLEWARE_CLASSES, ahead of django.middleware.security.SecurityMiddleware if it's present. #. ./manage.py migrate

Further Installation Notes


django-autocert requires `cryptography <https://cryptography.io/>`__
which has `platform-specific installation
requirements <https://cryptography.io/en/latest/installation/>`__ for
Linux and macOS:

Debian and Ubuntu


``sudo apt-get install build-essential libssl-dev libffi-dev python-dev``

RHEL/Fedora


``sudo yum install gcc libffi-devel python-devel openssl-devel``

macOS


``brew install openssl env LDFLAGS="-L$(brew --prefix openssl)/lib" CFLAGS="-I$(brew --prefix openssl)/include" pip install cryptography``

License
-------

django-autocert is MIT licensed

Authors
-------

Patrick Farrell @farrepa on Github and
`Twitter <https://twitter.com/farrepa/>`__


Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc