Skip to main content

A quick tool to serve the acme-challenge verification page.

Project description

# django-acme-challenge

[![Build Status](https://travis-ci.org/jamstooks/django-acme-challenge.svg?branch=master)](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 that page.

## Installation

PyPI:

pip install django-acme-challenge

Github:

pip install https://github.com/jamstooks/django-acme-challenge/archive/v1.2.zip

Add ‘acme_challenge’, to your installed apps and update your urls.py:

url(r’^.well-known/acme-challenge/’, include(‘acme_challenge.urls’)),

### Settings

Just set two variables:

  • 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

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-acme-challenge-1.2.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file django-acme-challenge-1.2.tar.gz.

File metadata

File hashes

Hashes for django-acme-challenge-1.2.tar.gz
Algorithm Hash digest
SHA256 261a54b63526493a3f3bece371907fbcda6ec9a2f72e1041f790ee87e5675330
MD5 9c5638b3924da11a9be1d9d9ccf513df
BLAKE2b-256 918c63d79abb947eb5d859096ac5bc62dc841167e80f309f3098f9d1fd302a32

See more details on using hashes here.

Supported by

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