Browse Source

Merge pull request #1236 from twoup/patch-1

Fix issue in v-letsencrypt-add-user
dpeca 8 years ago
parent
commit
8b3d2f0aa1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-add-letsencrypt-user

+ 1 - 1
bin/v-add-letsencrypt-user

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