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
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 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
Metadata
Release files for django-autocert 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-autocert-0.1.7.tar.gz | 7.8 kB | Without provenance | Details for django-autocert-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_autocert-0.1.7-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for django_autocert-0.1.7-py2.py3-none-any.whl |
Total release size: 19.2 kB
Release files / django-autocert-0.1.7.tar.gz
| Download URL | django-autocert-0.1.7.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dcb44b2c3e12e17d9b9a8fc48d89bf2cc5bb2b6672b3509cd59bb26cd3de65ab
|
|
BLAKE2b-256 checksum How to use checksums |
99aaa228a547ce8d395af97c643a6443fc5d3f10a81bc568f86fc19a5059c263
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.15
|
Release files / django_autocert-0.1.7-py2.py3-none-any.whl
| Download URL | django_autocert-0.1.7-py2.py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ef1e985987ca3eb356fa410683a616640a722710514e8574cb54eb6a35ea3869
|
|
BLAKE2b-256 checksum How to use checksums |
59a9540a6466be5573151a21b8eba6e93b84730dd043eb75b262ff0366f35d18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.15
|
Security for django-autocert 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.