It seems that for some reason the certificates that are generated with LetsEncrypt are not renewed automatically by latest Synology DSM.
I tried the CLI, but it fails
sudo syno-letsencrypt renew-all -v
DEBUG: [syno.example.com] is not a subdomain of [my-syno.synology.me]
DEBUG: DDNS Curl: [https://ddns.synology.com/main.php?_=letsencrypt%2Fdelete&hostname=syno.example.com&myds_id=696423&auth_key=...&serial=1590MHN443201&txt=]
DEBUG: GET Request: https://ddns.synology.com/main.php?_=letsencrypt%2Fdelete&hostname=syno.example.com&myds_id=696423&auth_key=...&serial=1590MHN443201&txt=
DEBUG: Dns01 challenge: Teardown [{"code":"badparam"}].
DEBUG: DNS challenge failed, reason: { "error": 203, "msg": "Challenge setup is failed.", "file": "client.cpp:278"}
DEBUG: Normal challenge failed, reason: { "error": 107, "msg": "syno.example.com: Could not connect to syno.example.com", "file": "client.cpp:315"}
DEBUG: failed to open port 80.
DEBUG: close port 80.
DEBUG: Failed to renew /usr/syno/etc/certificate/_archive/8mSVmw/. { "error": 101, "msg": "failed to open port 80.", "file": "client.cpp:472"}
As a note, I checked and port 80 of "syno.example.com" is accessible from outside and is loading the Web Station.
I even tried stopping the Web Station before running the renew command but it seems that is has no effect on the execution of renew command. (/usr/syno/bin/synopkg stop WebStation
).
One interesting remark was that once I stopped the Web Station, instead of not responding on port 80, Synology decided to redirect it to port 5000/5001.