See https://aleff.dev/ for usage documentation.
Related repo: https://github.com/stut/aleff-challenge-responder
Automated Let's Encrypt For Fabio
Home Page: https://aleff.dev/
See https://aleff.dev/ for usage documentation.
Related repo: https://github.com/stut/aleff-challenge-responder
It's possible that not all domain names should get an SSL certificate. This feature would add aleff-enabled
and aleff-disabled
tag detection to enable or disable the fetching of certificates. This will also need an option to set the default (i.e. opt-in or opt-out) - suggest ALEFF_DEFAULT=enabled/disabled
as the environment variable for that, defaulting to enabled
if not present.
Add an environment variable for the maximum amount of time to wait for the challenge responder job to start up. It's currently hard-coded to 60 seconds, but it could take longer on a busy cluster so it needs to be configurable.
Currently, if you're using a custom prefix for Fabio the challenge responder job will not be configured correctly.,
I am trying to get Aleff going on a cluster where Nomad TLS is in use. The main Aleff job is running, but I see the following in the STDERR log:
2023/03/07 14:24:30 [INFO] aleff: Running...
2023/03/07 14:24:30 [INFO] [echo.xxxxxxxxxx.com] aleff: Requesting new certificate...
2023/03/07 14:24:30 [INFO] [echo.xxxxxxxxxx.com] acme: Obtaining SAN certificate
2023/03/07 14:24:30 [INFO] [echo.xxxxxxxxxx.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/208950xxxxxx
2023/03/07 14:24:30 [INFO] [echo.xxxxxxxxxx.com] acme: Could not find solver for: tls-alpn-01
2023/03/07 14:24:30 [INFO] [echo.xxxxxxxxxx.com] acme: use http-01 solver
2023/03/07 14:24:30 [INFO] [echo.xxxxxxxxxx.com] acme: Trying to solve HTTP-01
2023/03/07 14:24:30 [INFO] [echo.xxxxxxxxxx.com] aleff: Starting challenge responder...
2023/03/07 14:24:30 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/208950xxxxx
2023/03/07 14:24:31 [WARN] [echo.xxxxxxxxxx.com] aleff: Error: error: one or more domains had a problem:
[echo.xxxxxxxxxx.com] [echo.xxxxxxxxxx.com] acme: error presenting token: tls: failed to find any PEM data in certificate input
2023/03/07 14:24:31 [INFO] aleff: Donw.
I never see the Challenge-Responder job launched in the Nomad UI nor registered as a route in Fabio. I believe the issue may have to do with Aleff's submission of the job in a TLS environment.
I have templated the necessary .PEM files and set environment variables for them as NOMAD_CACERT, NOMAD_CLIENT_CERT and NOMAD_CLIENT_KEY. I have checked that the files are being properly created in the secrets directory by inspecting them on the host. All are world readable within secrets, so I do not think it is a permissions issue. I have also confirmed that the challenge-responder.hcl job is correctly written to the local directory.
I am at a loss as to what to try next. Any idea why the challenge-responder won't launch?
It would be great if the Vault certificate store was optionally available instead of the Consul one.
https://fabiolb.net/feature/certificate-stores/#vault
When running outside a Nomad cluster this feature should be disabled.
Metrics would be really useful, personally I'd want to start with Prometheus but obviously other metrics tooling and mechanisms are available!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.