From b3b50c8f2ed7571f3e3509dcc3fb41adcff42cff Mon Sep 17 00:00:00 2001 From: Miguel Angelo Date: Tue, 23 Jun 2020 17:45:05 -0300 Subject: [PATCH] Added info about user login error when the user has 2fa auth enabled. --- Synology-NAS-Guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Synology-NAS-Guide.md b/Synology-NAS-Guide.md index 5cd280c..ae027a3 100644 --- a/Synology-NAS-Guide.md +++ b/Synology-NAS-Guide.md @@ -63,6 +63,8 @@ $ export SYNO_Certificate="" $ ./acme.sh --deploy -d "$CERT_DOMAIN" --deploy-hook synology_dsm ``` +Note that the user entered into `SYNO_Username` must not have two-factor authentication enabled. If it has, an error will say that the user/password is wrong, even if they are correct. If the chosen user has 2fa enabled, a workaround is to create a new user in the `admin` group just for this task. + ### Deploying additional certificates By specifying a different `SYNO_Certificate` and (optionally) `SYNO_Create`, we can deploy multiple certificates to the DSM. These commands assume you are still working in the same terminal and have exported all other necessary variables described above.