mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
challenge tokens are created in wrong directory for freeBSD #182
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tekbasse on GitHub (Jan 5, 2017).
challenge tokens are created in WELLKNOWN dir instead of WELLKNOWN/.well-known/acme-challenge/
for bash under freeBSD 10.3 See #334
After commenting out line 545:
[[ "${CHALLENGETYPE}" = "http-01" ]] && rm -f "${WELLKNOWN}/${challenge_token}"The files are found in WELLKNOWN dir.
@lukas2511 commented on GitHub (Jan 5, 2017):
This is not a bug, this is a feature: https://github.com/lukas2511/dehydrated/blob/master/docs/wellknown.md
@tekbasse commented on GitHub (Jan 5, 2017):
I call it a documentation bug. Poorly explained.
@lukas2511 commented on GitHub (Jan 5, 2017):
In that document I state multiple times how files are stored, and there even is example configuration for probably every popular webserver, I'm really not sure what else I can do.
If you have a suggestion on how to make the documentation better feel free to send in a pull-request.
@tekbasse commented on GitHub (Jan 5, 2017):
Okay. Will do.
@tekbasse commented on GitHub (Jan 5, 2017):
The acme standard requires the file to be served from /.well-known/acme-challenge/
.well-known/acme-challenge/evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ-PCt92wr-oAfrom: https://github.com/ietf-wg-acme/acme/blob/master/draft-ietf-acme-acme.md
So, WELLKNOWN needs to include this fixed value at the end.
The pull request will reflect this description.
cheers, Ben