Merge pull request #1236 from twoup/patch-1

Fix issue in v-letsencrypt-add-user
This commit is contained in:
dpeca 2017-10-22 02:28:40 +02:00 committed by GitHub
commit 8b3d2f0aa1

View file

@ -55,7 +55,7 @@ if [ ! -e "$key" ]; then
fi fi
# Defining key exponent # 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//' |\ grep Exponent: |cut -f 2 -d '(' |cut -f 1 -d ')' |sed -e 's/x//' |\
xxd -r -p |encode_base64) xxd -r -p |encode_base64)