You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the command
./acme.sh --deploy --home . -d "$CERT_DOMAIN" --deploy-hook synology_dsm
I get an error.
root@homeassistant:/usr/local/share/acme.sh# ./acme.sh --deploy --insecure --home . -d "$CERT_DOMAIN" --deploy-hook synology_dsm
[Fri 11 Nov 2022 10:46:28 AM EST] Logging into 192.168.0.2:5000
[Fri 11 Nov 2022 10:46:28 AM EST] Unable to authenticate to 192.168.0.2:5000 using http.
[Fri 11 Nov 2022 10:46:28 AM EST] Check your username and password.
[Fri 11 Nov 2022 10:46:28 AM EST] If two-factor authentication is enabled for the user, set SYNO_TOTP_SECRET.
[Fri 11 Nov 2022 10:46:28 AM EST] Error deploy for domain:mydomain.xyz
[Fri 11 Nov 2022 10:46:28 AM EST] Deploy error.
I have the following environement variables set
root@homeassistant:/usr/local/share/acme.sh# set|grep SYNO
SYNO_Certificate=
SYNO_Create=1
SYNO_DID=copied from the cookie in Chrome
SYNO_Host=192.168.0.2
SYNO_Hostname=192.168.0.2
SYNO_Password=secret password
SYNO_Port=5000
SYNO_Scheme=http
SYNO_TOTP_SECRET=
SYNO_Username=myusername
I do have 2FA enabled. What do I set SYNO_TOTP_SECRET to? I tried using the SYNO app on my phone and got the time-based OTP number and then quickly running the command, but I still get the same error. I am also confused if I should be using port 5000 or 5001 and http or https. In my browser, if I go to http://192.168.0.2:5000 it automatically changes it to https://192.168.0.2:5001
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to deploy my cert, using the instructions here:
https://github.com/acmesh-official/acme.sh/wiki/Synology-NAS-Guide
When I run the command
./acme.sh --deploy --home . -d "$CERT_DOMAIN" --deploy-hook synology_dsm
I get an error.
root@homeassistant:/usr/local/share/acme.sh# ./acme.sh --deploy --insecure --home . -d "$CERT_DOMAIN" --deploy-hook synology_dsm
[Fri 11 Nov 2022 10:46:28 AM EST] Logging into 192.168.0.2:5000
[Fri 11 Nov 2022 10:46:28 AM EST] Unable to authenticate to 192.168.0.2:5000 using http.
[Fri 11 Nov 2022 10:46:28 AM EST] Check your username and password.
[Fri 11 Nov 2022 10:46:28 AM EST] If two-factor authentication is enabled for the user, set SYNO_TOTP_SECRET.
[Fri 11 Nov 2022 10:46:28 AM EST] Error deploy for domain:mydomain.xyz
[Fri 11 Nov 2022 10:46:28 AM EST] Deploy error.
I have the following environement variables set
root@homeassistant:/usr/local/share/acme.sh# set|grep SYNO
SYNO_Certificate=
SYNO_Create=1
SYNO_DID=copied from the cookie in Chrome
SYNO_Host=192.168.0.2
SYNO_Hostname=192.168.0.2
SYNO_Password=secret password
SYNO_Port=5000
SYNO_Scheme=http
SYNO_TOTP_SECRET=
SYNO_Username=myusername
I do have 2FA enabled. What do I set SYNO_TOTP_SECRET to? I tried using the SYNO app on my phone and got the time-based OTP number and then quickly running the command, but I still get the same error. I am also confused if I should be using port 5000 or 5001 and http or https. In my browser, if I go to http://192.168.0.2:5000 it automatically changes it to https://192.168.0.2:5001
Beta Was this translation helpful? Give feedback.
All reactions