Skip to content

peng22/auto-cert-edited

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Requirements

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

Installation

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

Further Installation Notes

django-autocert requires cryptography which has platform-specific installation requirements 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages