https://synoguide.com/2016/04/14/secure-your-synology-with-https-ssl-certificate-from-lets-encrypt/
Control Panel –> Security → Certificate (tab) → Add
Once the new certificate has been created, select it and click Configure.
Set all services to use the new LetsEncrypt certificate.
The certificate will auto-renew.