fix _getAKI() on OpenBSD (#7007)

The order of the arguments does matter for OpenBSD's grep (bug or
feature).
This commit is contained in:
Thomas
2026-06-04 21:15:12 +02:00
committed by GitHub
Unverified
parent 5713c1d39d
commit dfbe2c5bff
+1 -1
View File
@@ -6865,7 +6865,7 @@ deactivate() {
#cert
_getAKI() {
_cert="$1"
${ACME_OPENSSL_BIN:-openssl} x509 -in "$_cert" -text -noout | grep "X509v3 Authority Key Identifier" -A 1 | _tail_n 1 | tr -d ': ' | sed "s/keyid//"
${ACME_OPENSSL_BIN:-openssl} x509 -in "$_cert" -text -noout | grep -A 1 "X509v3 Authority Key Identifier" | _tail_n 1 | tr -d ': ' | sed "s/keyid//"
}
#cert