Skip to main content

A simple Django app to handle Let's Encrypt ACME challenges.

Project description

Let's Encrypt App for Django

Travis Build Status (Master) Codecov Status (Master)

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.8
    • 3.7
    • 3.6
  • Django Versions Supported:
    • 3.1 minimum version 3.1.2
    • 3.0 minimum version 3.0.10
    • 2.2 minimum version 2.2.16
  • Databases Supported:
    • mysql
    • postgres
    • sqlite

Installation & Configuration

  1. pip install django-letsencrypt

  2. Add letsencrypt to your INSTALLED_APPS

INSTALLED_APPS = [
   ... ,
   'letsencrypt',
   ... ,
]
  1. Include the letsencrypt in your project's urls.py, or where applicable (usually your root urls.py).
url(r'^\.well-known/', include('letsencrypt.urls'))
  1. Run manage.py migrate to create the required table for the letsencrypt model

  2. Create your ACME Challenge objects in your Django admin interface

  3. Test your ACME Challenge objects and their responses by visiting them:

{Django Site}/.well-known/acme-challenge/challenge_text
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-letsencrypt-4.0.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_letsencrypt-4.0.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file django-letsencrypt-4.0.0.tar.gz.

File metadata

  • Download URL: django-letsencrypt-4.0.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for django-letsencrypt-4.0.0.tar.gz
Algorithm Hash digest
SHA256 64fdb40ecdf1c44f064ad29c511f666103b8518888f90649a1e9f9b250624bb7
MD5 995b1a104f95671bf709d3dbf93dfb1f
BLAKE2b-256 47f3c73d6e987c8caa01db82da1b2806aeb0315b1c9fc9655cc273dbe2202baf

See more details on using hashes here.

File details

Details for the file django_letsencrypt-4.0.0-py3-none-any.whl.

File metadata

  • Download URL: django_letsencrypt-4.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for django_letsencrypt-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d5aa3f5080e1e1116b7dfdd4ddefb6db63cebaaced4dd694e01d53e1b28710e
MD5 d12b88b857b9db7d2675b11d2c1f8739
BLAKE2b-256 c6db14a77e936ab05fd709bdb950b929abfb340fe9dcbc24e3de738267001b89

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page