Skip to content

Instantly share code, notes, and snippets.

timmyeb /
Last active May 26, 2023 06:08
Letsencrypt on Synology DSM 7

The goal is to configure Synology NAS to use letsencrypt certificate without exposing it to the internet.
To achieve this we use certbot with DNS-01 challenge to Cloudflare.

  1. Run to install pip and certbot. You may need to run this again after DSM upgrades.

  2. Setup cloudflare secret.

# mkdir /volume1/system/.secrets
# touch /volume1/system/.secrets/cloudflare.ini