-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
uacme: adapted run.sh script to get it working with step CA #24803
base: master
Are you sure you want to change the base?
Conversation
OpenWrt will change to the APK package manager which requires The PKG_RELEASE should be an integer and not contain any letters or special characters.
|
Signed-off-by: Sebastian Bogaci <[email protected]>
f4b5a29
to
1a52204
Compare
@lucize I prepared everything once again, kindly asking for your review. |
@lucize friendly reminder for reviewing this PR |
LGTM |
@lucize github pr workflow requires your approval, would you be so kind? |
Sorry but I don't have the rights to do it, seems it needs to be approved by a maintainer with write access |
@systemcrash: What do you think? |
I don't use this stuff on my box. But this is difficult to review: there are stylistic fixes together with code changes. Does this come at the expense of no more compat with standard ACME endpoints? |
@systemcrash I don't think a standard ACME server implementation will break, since the STEP CA ACME used for testing this was also tested by Let's Encrypt service. Nevertheless I tested this only with an internal network hosted STEP CA ACME service, since my OpenWRT instance, where I need this, is not exposed to internet and can't use Let's Encrpyt standard ACME service. |
please do enable |
@oldboys92 maybe you can also check the unfinished #10792 |
@stokito you mean merging my changes for the I strongly believe we should not do this. Further more having I like the KISS principle, so I think the package maintainers should give up and remove
I hope this makes sense to you. I would love to hear some feedback also from package maintainers as well. |
Maintainer: @lucize
Compile tested: OpenWrt 23.05.03
Run tested: OpenWrt 23.05.03
Description:
Current uacme package has no support for using private CA (like step CA). The tool supports that, but the wrapper script responsible for handling the ACME challenge is missing additional settings required for that (see this thread).
On top of that, the wrapper script was initially forked from acme.sh package and contains code snippets which suggest wrapper is same when uacme and acme.sh are installed. This makes no sense, so I've decided to fix the wrapper script (run.sh) to support only uacme package.
Added support for
tls-alpn-01
and testedhttp-01
andtls-alpn-01
ACME challenge types using step CA as ACME service. Also fixed and improved the pre_check() and post_check() functions of the wrapper. Added also option for setting which interface should listen on the ACME challenge.