Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Let's Encrypt ACME challenge requests in Azure/IIS #211

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Allow Let's Encrypt ACME challenge requests in Azure/IIS #211

wants to merge 2 commits into from

Conversation

gazab
Copy link

@gazab gazab commented Jul 3, 2016

This pull request will allow static file requests to slackin-installation.com/.well-known/acme-challenge/STATIC_FILE which Let's Encrypt (https://letsencrypt.org/) uses to verify domain ownership when automatically issuing and renewing certs for HTTPS.

This change only changes web.config so it only works on Azure or other IIS-based hosts. A better change would probably be to make Node itself serve the directory correctly but my few tries to do that failed.

This change works like a charm together with the Azure Let's Encrypt extension (https://github.com/sjkp/letsencrypt-siteextension) which takes care of the Let's Encrypt setup.

I've used it successfully on this site: https://www.fpv-sverige.se/
Which now lets through request like this one: https://www.fpv-sverige.se/.well-known/acme-challenge/1paIJkZJOxMjch3FHasm9xBGFqdrUopegAeaee_Cgyc
Before this fix node would just respond with CANNOT GET /path

@gazab gazab changed the title Allow Let's Encrypt ACME challange requests in Azure/IIS Allow Let's Encrypt ACME challenge requests in Azure/IIS Jul 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant