Commit Graph
6 Commits
Author SHA1 Message Date
neil 7c12deb7ef fix: grep -A is not portable, breaks ARI on Solaris
Solaris /usr/bin/grep has no -A ("illegal option -- A"), so _getAKI
printed an error to stderr on every cron renewal and returned empty.
The empty AKI silently corrupts the RFC 9773 ARI certID, so ARI is
never available and renewal falls back to the fixed schedule.

Split the pipeline into a testable stdin filter _extractAKI and select
the value line with a portable sed range instead.

Same fix for the two hooks that still used grep -A: dns_world4you.sh
(also replaces the GNU-only "\s" in the same expression) and
deploy/keyhelp.sh (the -A 2 window could truncate the div range that
follows it, so it is just dropped).

https://github.com/acmesh-official/acme.sh/issues/7159
2026-07-25 16:00:03 +08:00
b1n23 2f5ea120cb deployhook KeyHelp: fix bug 2024-07-16 00:25:53 +08:00
b1n23 1116b73a08 deployhook KeyHelp: Support enabling the Enforce HTTPS option 2024-06-03 16:47:43 +08:00
b1n23 bfba44fbad format adjustment 2024-04-07 12:36:19 +00:00
b1n23 c466f063c8 add newline at end of file 2024-04-01 21:59:12 +08:00
b1n23 295af01687 Add deployhook for KeyHelp 2024-03-28 23:07:14 +08:00