https://github.com/jamstooks/django-acme-challenge
A quick tool to serve the acme-challenge verification page for use with Let's Encrypt
https://github.com/jamstooks/django-acme-challenge
Last synced: 28 days ago
JSON representation
A quick tool to serve the acme-challenge verification page for use with Let's Encrypt
- Host: GitHub
- URL: https://github.com/jamstooks/django-acme-challenge
- Owner: jamstooks
- License: bsd-3-clause
- Created: 2016-04-19T14:29:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-02T21:02:14.000Z (about 7 years ago)
- Last Synced: 2025-03-24T11:45:13.673Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django-acme-challenge
[](https://travis-ci.org/jamstooks/django-acme-challenge)
A quick tool to serve the acme-challenge verification page. When creating an SSL certificate with Let's Encrypt, you need to serve a page that they request to confirm you own the site:
Make sure your web server displays the following content at
http://your-domain-name/.well-known/acme-challenge/l9msb_LONG_STRING before continuing:l9msb_LONG_STRING.LONG_STRING
This app provides a quick way to serve and update that page from two settings variables.
## Installation
PyPI:
pip install django-acme-challenge
Github:pip install https://github.com/jamstooks/django-acme-challenge/archive/v1.2.zip
### Settings
Add `'acme_challenge',` to your installed apps and update your urls.py:
url(r'^.well-known/acme-challenge/', include('acme_challenge.urls')),
Just set two variables (I like to assign these with env vars, personally):
- `ACME_CHALLENGE_URL_SLUG`
- `ACME_CHALLENGE_TEMPLATE_CONTENT`
`http://your-domain-name/.well-known/acme-challenge/ACME_CHALLENGE_URL_SLUG`
will then serve the value of `ACME_CHALLENGE_TEMPLATE_CONTENT`
for validation.### Compatibility
Support Django 1.8 - 2.0 and Python 2 & 3