Skip to content

Commit 598d77f

Browse files
author
neil
committed
1 parent aba2583 commit 598d77f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

acme.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6853,7 +6853,7 @@ deactivate() {
68536853
#cert
68546854
_getAKI() {
68556855
_cert="$1"
6856-
openssl x509 -in "$_cert" -text -noout | grep "X509v3 Authority Key Identifier" -A 1 | _tail_n 1 | tr -d ' :'
6856+
openssl x509 -in "$_cert" -text -noout | grep "X509v3 Authority Key Identifier" -A 1 | _tail_n 1 | _egrep_o "[A-F0-9:]+" | tr -d ':'
68576857
}
68586858

68596859
#cert

0 commit comments

Comments
 (0)