Skip to content

Commit 8b3d2f0

Browse files
authored
Merge pull request hestiacp#1236 from twoup/patch-1
Fix issue in v-letsencrypt-add-user
2 parents e757da7 + 9947764 commit 8b3d2f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-add-letsencrypt-user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if [ ! -e "$key" ]; then
5555
fi
5656

5757
# Defining key exponent
58-
exponent=$(openssl pkey -inform perm -in "$key" -noout -text_pub |\
58+
exponent=$(openssl pkey -inform pem -in "$key" -noout -text_pub |\
5959
grep Exponent: |cut -f 2 -d '(' |cut -f 1 -d ')' |sed -e 's/x//' |\
6060
xxd -r -p |encode_base64)
6161

0 commit comments

Comments
 (0)