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:
twoup 2017-07-21 11:00:40 +01:00 committed by GitHub
commit 9947764365

View file

@ -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)