mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Fix issue in v-letsencrypt-add-user
This issue is getting some hits on the forum. Tiny typo on Line 58. exponent=$(openssl pkey -inform perm -in "$key" -noout -text_pub |\ -inform perm is not a valid openssl pkey option. The correct code iis: exponent=$(openssl pkey -inform pem -in "$key" -noout -text_pub |\
This commit is contained in:
parent
4e769aa83d
commit
9947764365
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ if [ ! -e "$key" ]; then
|
|||
fi
|
||||
|
||||
# Defining key exponent
|
||||
exponent=$(openssl pkey -inform perm -in "$key" -noout -text_pub |\
|
||||
exponent=$(openssl pkey -inform pem -in "$key" -noout -text_pub |\
|
||||
grep Exponent: |cut -f 2 -d '(' |cut -f 1 -d ')' |sed -e 's/x//' |\
|
||||
xxd -r -p |encode_base64)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue