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!
django-letsencrypt
is tested across a number of configurations, here's what's
supported so far:
3.10
(Django 4.0
and 3.2
only)3.9
(Django 4.0
and 3.2
only)3.8
3.7
(Django 3.2
and 2.2
only)4.0
minimum version 4.0
3.2
minimum version 3.2.10
2.2
minimum version 2.2.25
mysql
postgres
sqlite
pip install django-letsencrypt
Add letsencrypt
to your INSTALLED_APPS
INSTALLED_APPS = [
... ,
'letsencrypt',
... ,
]
letsencrypt
in your project's urls.py
,
or where applicable (usually your root urls.py
).re_path(r'^\.well-known/', include('letsencrypt.urls'))
Run manage.py migrate
to create the required table for the
letsencrypt
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
ACME Challenges
inside your Django 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.