acme: Fix loading credentials
authorAdrien DAURIAT <16813527+dauriata@users.noreply.github.com>
Wed, 30 Jan 2019 22:32:51 +0000 (23:32 +0100)
committerToke Høiland-Jørgensen <toke@toke.dk>
Fri, 8 Feb 2019 16:17:13 +0000 (17:17 +0100)
commit3439c008e52f6cd261854b5db73fd65cc497b1db
tree0653c3c255e305adbace87d70ef0e54d324ad1eb
parentc636bf374f2bafe044ee56ad170a186cf2bbb6e5
acme: Fix loading credentials

Move loading credential function before cert renewal call as credentials might be needed for some renewal operations ( ex: DNS )

Signed-off-by: Adrien DAURIAT <16813527+dauriata@users.noreply.github.com>
[toke@toke.dk: Port to master branch]
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
net/acme/files/run.sh