-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Support custom ACME provider #18340
Support custom ACME provider #18340
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documents and app.example.ini
need to be updated.
We should refactor all references to LetsEncrypt to ACME, e.g. rename |
Please advise if 6344684 is ok. The documentation for LetsEncrypt settings was not present in
|
Closes go-gitea#18306 Signed-off-by: Cristian Le <git@lecris.me>
…d documented app.example.ini Signed-off-by: Cristian Le <git@lecris.me>
Signed-off-by: Cristian Le <git@lecris.me>
6344684
to
4350b76
Compare
… not implemented yet. Signed-off-by: Cristian Le <git@lecris.me>
Codecov Report
@@ Coverage Diff @@
## main #18340 +/- ##
==========================================
+ Coverage 46.31% 46.63% +0.32%
==========================================
Files 846 846
Lines 121244 121313 +69
==========================================
+ Hits 56155 56577 +422
+ Misses 58271 57862 -409
- Partials 6818 6874 +56
Continue to review full report at Codecov.
|
…ed the previous change Signed-off-by: Cristian Le <git@lecris.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some code styling.
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Co-authored-by: Gusted <williamzijl7@hotmail.com>
Did you guys just pushed commits from github interface? Got woken up by a barage of notifications. Anyway there's still documentation to be fixed around the ACME_TOS and implement the required code upstream. |
Sorry to wake you up .... I just committed some small suggested changes from GitHub web. I would leave it next time. |
No sweat, just condense them into a single commit next time. |
Signed-off-by: Cristian Le <git@lecris.me>
1015b9c
to
f96f206
Compare
I have a stashed changes waiting on caddyserver/certmagic#165. The difference is that, the user does not need to explicitly add any settings of |
Signed-off-by: Cristian Le <git@lecris.me>
Signed-off-by: Cristian Le <git@lecris.me>
No more changes? Prepare to merge ~~~ |
Sure, when the changes to |
Uhm, checking back on the drone build, it is stuck in some infinite loop. @wxiaoguang how about triggering it again? |
No worry, maintainers can handle it |
* giteaofficial/main: (28 commits) Added auto-save whitespace behavior if it changed manually (go-gitea#15566) Support custom ACME provider (go-gitea#18340) Refactor i18n, use Locale to provide i18n/translation related functions (go-gitea#18648) Only request write when necessary (go-gitea#18657) [skip ci] Updated translations via Crowdin Add separate SSH_USER config option (go-gitea#17584) Be more lenient with label colors (go-gitea#17752) remove redundant call to UpdateRepoStats during migration (go-gitea#18591) more repo dump/restore tests, including pull requests (go-gitea#18621) No longer show the db-downgrade SQL in production (go-gitea#18653) Fix the missing i18n key for update checker (go-gitea#18646) Update gitea-vet (go-gitea#18640) Future proof for 1.18 (go-gitea#18644) Add `contrib/upgrade.sh` (go-gitea#18286) If rendering has failed due to a net.OpError stop rendering (go-gitea#18642) Delete old git.NewCommand() and use it as git.NewCommandContext() (go-gitea#18552) Update JS dependencies (go-gitea#18636) fix commits_list_small.tmpl (go-gitea#18641) Fix `make fmt` and `make fmt-check` (go-gitea#18633) Frontport of changelog for v1.16.1 (go-gitea#18615) ...
* Added ACMECAURL option to support custom ACME provider. Closes go-gitea#18306 * Refactor setting.go https settings, renamed options and variables, and documented app.example.ini * Refactored runLetsEncrypt to runACME * Improved documentation
Closes #18306
Tested with self-hosted Smallstep CA.
A few points:
domain
,directory
, etc. since other options are derived fromsettings
inside anywayLet me know of any naming conventions that I should adhere to here.
Signed-off-by: Cristian Le git@lecris.me