WIP: HTTP-01 solver that stores challenge tokens in FrostFS #4
No reviewers
Labels
No labels
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/lego#4
Loading…
Reference in a new issue
No description provided.
Delete branch "potyarkin/lego:feature/http-01-frostfs-solver"
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?
This PR is based on the latest Lego release (v4.19.2) and adds a new HTTP-01 solver (in addition to existing ones: s3, memcached, webroot).
New solver saves challenge tokens to FrostFS container which is expected to be exposed via FrostFS HTTP gateway on relevant domain(s) via
/.well-known/acme-challenge
path.This will allow any user with valid FrostFS credentials to obtain a Let's Encrypt certificate for gateway domain. That's useful for:
Security considerations:
Example reverse proxy config for Angie/Nginx:
Implementation details:
__SYSTEM__EXPIRATION_EPOCH
set to near future. This means that even if solver cleanup call fails the garbage will be automatically collected by FrostFS itselfcmd/flags.go
)TODO:
I suggest to leave this PR in a "WIP" status indefinitely:
Maintaining a patch set on top of a moving target (upstream Lego releases) seems pointless if no one will be using it. When/if such need will arise we will be able to quickly implement the solver on top of the latest Lego / FrostFS using this PR as a blueprint.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.