Browse Source

Merge pull request #1274 from jlduran/add-account-key-permissions

Set the account key file permissions
neil 7 years ago
parent
commit
11a9f1d1f0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      acme.sh

+ 1 - 0
acme.sh

@@ -1281,6 +1281,7 @@ _create_account_key() {
   else
     #generate account key
     _createkey "$length" "$ACCOUNT_KEY_PATH"
+    chmod 600 "$ACCOUNT_KEY_PATH"
   fi
 
 }