You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cert services: Self-signed and ACME with DNS challenge - #2
This PR adds the long awaited feature to support real SSL certificates without exposing a local server to the internet, it only supports DNS challenge, which is automated for CloudFlare (will add more later on) so we dont need to do anything ourself every 30 days.
Every value except exactly production silently selects staging. A typo such as prodution therefore issues an untrusted staging certificate and takes the route offline instead of reporting bad configuration. Accept the two documented values explicitly and reject anything else.
Check Cloudflare response status before JSON parsing
src/services/dns/cloudflare.rs:143
Unlike the lookup and update paths, record creation does not inspect the HTTP status. Cloudflare 4xx/5xx responses are consequently fed to serde_json and reported as misleading parse errors instead of the API failure status. Check response.status() before consuming the body.
Correct ACME environment documentation and precedence
README.md:114
This contradicts the implementation: ACME_ENV=staging selects Let's Encrypt staging, while production is only the default. Documenting this incorrectly encourages testing against production rate limits; also note that an existing account file takes precedence over the environment setting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds the long awaited feature to support real SSL certificates without exposing a local server to the internet, it only supports DNS challenge, which is automated for CloudFlare (will add more later on) so we dont need to do anything ourself every 30 days.