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.
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:
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.