A simple Django app to handle Let's Encrypt ACME challenges.
Project description
Let's Encrypt App for Django
django-letsencrypt
will allow you to add, remove, and update any
ACME challenge objects you may
need through your Django admin interface. Simply add the ACME challenge
and response
for your app to serve up the necessary information for
Let's Encrypt validation.
This project strives to make installation, configuration, and usage a snap! From high levels of code coverage, multiple compatible python versions, multiple versions of Django supported, even multiple databases too!
And of course all wrapped up and published to PyPI for standard installation!
Supported Configurations
django-letsencrypt
is tested across a number of configurations, here's what's
supported so far:
- Python Versions Supported:
3.10
(Django4.0
and3.2
only)3.8
3.7
(Django3.2
and2.2
only)
- Django Versions Supported:
4.0
minimum version4.0
3.2
minimum version3.2.10
2.2
minimum version2.2.25
- Databases Supported:
mysql
postgres
sqlite
Recent Build Status Badges
Installation & Configuration
-
pip install django-letsencrypt
-
Add
letsencrypt
to yourINSTALLED_APPS
INSTALLED_APPS = [
... ,
'letsencrypt',
... ,
]
- Include the
letsencrypt
in your project'surls.py
, or where applicable (usually your rooturls.py
).
re_path(r'^\.well-known/', include('letsencrypt.urls'))
-
Run
manage.py migrate
to create the required table for theletsencrypt
model -
Create your
ACME Challenge
objects in your Django admin interface -
Test your
ACME Challenge
objects and their responses by visiting them:
{Django Site}/.well-known/acme-challenge/challenge_text
- Enjoy your easy to manage
ACME Challenges
inside your Django project!
Example Project
If you would like a demo of how to use this application simply clone this project's
git
repository from GitHub,
take a moment to read the README.md
file within the
example_project
directory, and follow the directions. That will spin up a small sample django
application already configured for you to try out.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-letsencrypt-4.1.0.tar.gz
.
File metadata
- Download URL: django-letsencrypt-4.1.0.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 101a647abab41c90fe45d6dcbdd835603b8592f5d7736eecfa6ecbeb08ed5b0d |
|
MD5 | e862126da1a5ff88ac251d48ff4306dc |
|
BLAKE2b-256 | 4032f70a136076ef790ef79ee6dbf01cf209ac2ec44f77f280d1275742033444 |
File details
Details for the file django_letsencrypt-4.1.0-py3-none-any.whl
.
File metadata
- Download URL: django_letsencrypt-4.1.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5fbf683670dafd93078b5f6e576645de1f616a44011691e599f534579378f27 |
|
MD5 | 9089401b7bfc632750816bc22f4b81dd |
|
BLAKE2b-256 | a45592e2f40f90928d3302d480f76735d495c6546528a4e6cd7c4c27e28d38f8 |