Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oldboys92
Copy link

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 tested http-01 and tls-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.

Copy link

OpenWrt will change to the APK package manager which requires
deterministic verisons. Please make sure that PKG_VERSION
follows Semantic Versioning or more specifically,
the APK version scheme.
If the version is based on a date, please use dots instead of dashes, i.e. 24.01.01.

The PKG_RELEASE should be an integer and not contain any letters or special characters.

  • net/uacme/net/uacme/Makefile

@oldboys92
Copy link
Author

@lucize I prepared everything once again, kindly asking for your review.

@oldboys92
Copy link
Author

@lucize friendly reminder for reviewing this PR

@lucize
Copy link
Contributor

lucize commented Sep 20, 2024

LGTM

@oldboys92
Copy link
Author

@lucize github pr workflow requires your approval, would you be so kind?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants