# Clarification of Synology NAS DiskStation Manager (DSM) Documentation of Let's Encrypt Integration

**URL:** <https://community.letsencrypt.org/t/clarification-of-synology-nas-diskstation-manager-dsm-documentation-of-lets-encrypt-integration/142511>\
**Category:** Issuance Tech\
**Created:** [January 12, 2021, 1:15am UTC](https://community.letsencrypt.org/t/clarification-of-synology-nas-diskstation-manager-dsm-documentation-of-lets-encrypt-integration/142511 "2021-01-12T01:15:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [January 12, 2021, 1:15am UTC](https://community.letsencrypt.org/t/clarification-of-synology-nas-diskstation-manager-dsm-documentation-of-lets-encrypt-integration/142511/1 "2021-01-12T01:15:56Z")

</div>

> **[How do I obtain a certificate from Let's Encrypt on my Synology NAS? -...](https://kb.synology.com/en-us/DSM/tutorial/How_to_enable_HTTPS_and_create_a_certificate_signing_request_on_your_Synology_NAS)**
>
> Synology Knowledge Center offers comprehensive support, providing answers to frequently asked questions, troubleshooting steps, software tutorials, and all the technical documentation you may need.

Many users of Synology NAS DiskStation Manager (DSM) come here to the Let's Encrypt Community each week seeking assistance with acquiring and installing certificates for securing access to their DSM login pages. Often, the ambiguities and misconceptions presented in the DSM documentation have led them astray. This topic serves as a discussion to clarify the documentation.

* * *

> You can only register for certificates from Let's Encrypt with a limited number of email accounts. If the limit is exceeded, use an email account previously registered to get more certificates.

I'm not exactly sure of the source or veracity of this statement.

* * *

> You can only register for a limited number of certificates per domain from Let's Encrypt. If the limit is exceeded, enter the current domain name as the Subject Alternative Name (SAN) and use another domain name for the certificate request.

This is ambiguous and misleading. There are three applicable [rate limits](https://letsencrypt.org/docs/rate-limits/):

- 5 certificates with the exact same subject alternative names (SANs), regardless of order, per any seven consecutive days
- 50 certificates per apex domain name (as defined by the [Public Suffix List](https://publicsuffix.org/)) per any seven consecutive days
- 100 SANs per certificate

Swapping the common name (CN) (or domain name in DSM terms) with a SAN will NOT bypass the first limit listed above. Adding an additional SAN will. However, why would anyone ever need 5 certificates covering the exact same SANS, nonetheless more? This is a glaring sign of a certificate **installation** problem, NOT a certificate **acquisition** problem.

Many DSM users hit the second limit listed above, often as a result of using a subdomain name of a very popular, shared, apex domain name. Utilizing an apex domain name of your own (or one of its subdomain names) will avoid hitting the second limit listed above.

If you find yourself needing a single certificate covering more than 100 (sub)domain names, either you need to seriously rethink your structure or you need to split the (sub)domain names amongst multiple certificates and let [SNI](https://en.m.wikipedia.org/wiki/Server_Name_Indication) handle them.

* * *

> Let's Encrypt will perform domain validation before issuing certificates for your domains. To renew your certificates, please make sure that ports 80 have been opened on your Synology NAS and router. All the other communications with Let's Encrypt go over HTTPS and will keep your Synology NAS secure.

It helps to understand [how an http-01 challenge actually works](https://letsencrypt.org/docs/challenge-types/#http-01-challenge).

Your **external** port 80 needs to be open and your NAS needs to **externally** respond via HTTP over port 80 or redirect to **externally** respond via HTTPS over port 443 (even with a wrong/expired certificate). The ports that your NAS uses internally (such as 5001) are **irrelevant**. If your NAS tries to redirect to **externally** respond over port 5001, this will **not** work for satisfying an http-01 challenge. To make things absolutely clear, "external" means "exposed to the public internet" while "internal" means "within your private network". Go to [redirect-checker.org](http://redirect-checker.org) to see what's going on **externally** with your NAS.

I have no clue what on Earth this is talking about: "All the other communications with Let's Encrypt go over HTTPS and will keep your Synology NAS secure". Sensitive ACME transactions between your NAS and Let's Encrypt are cryptographically signed to ensure their authenticity and integrity. All ACME transactions occur over HTTPS. I'm not sure how this "will keep your Synology NAS secure".

* * *

> Certificates issued by Let’s Encrypt are valid for 90 days. If the domain authenticates successfully, your DSM will renew the certificate automatically before it expires. To renew your certificates, please make sure that ports 80 have been opened on your Synology NAS and router.

The exact same requirements apply for the renewal of a certificate that applied for the initial acquisition of the certificate. If you change your NAS configuration after certificate acquisition, be sure that the new configuration still meets the requirements for certificate acquisition.

> **[Why ninety-day lifetimes for certificates? - Let's Encrypt](https://letsencrypt.org/2015/11/09/why-90-days.html)**
>
> We’re sometimes asked why we only offer certificates with ninety-day lifetimes. People who ask this are usually concerned that ninety days is too short and wish we would offer certificates lasting a year or more, like some other CAs do.
> Ninety days...

> **[Best Practice - Keep Port 80 Open - Let's Encrypt](https://letsencrypt.org/docs/allow-port-80/)**
>
> We occasionally get reports from people who have trouble using the HTTP-01 challenge type because they’ve firewalled off port 80 to their web server. Our recommendation is that all servers meant for general web use should offer both HTTP on...

---

<div class="post-metadata">

**Author:** ![schoen](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/schoen/32/79_2.png) [@schoen](https://community.letsencrypt.org/u/schoen)\
**Post date:** [January 12, 2021, 2:53am UTC](https://community.letsencrypt.org/t/clarification-of-synology-nas-diskstation-manager-dsm-documentation-of-lets-encrypt-integration/142511/2 "2021-01-12T02:53:53Z")

</div>

> [@griffin](#):
>
> Sensitive ACME transactions between the NAS and Let's Encrypt are cryptographically signed to ensure their authenticity and integrity, but can (and often do) occur over HTTP.

The _API_ conversation always happens over HTTPS (Let's Encrypt doesn't offer its API over HTTP), while the _HTTP-01 challenge validation_ will occur over HTTP. 🙂

---

<div class="post-metadata">

**Author:** ![griffin](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/griffin/32/50204_2.png) [@griffin](https://community.letsencrypt.org/u/griffin)\
**Post date:** [January 12, 2021, 3:04am UTC](https://community.letsencrypt.org/t/clarification-of-synology-nas-diskstation-manager-dsm-documentation-of-lets-encrypt-integration/142511/3 "2021-01-12T03:04:35Z")

</div>

That's a very good point, @schoen.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [February 11, 2021, 3:04am UTC](https://community.letsencrypt.org/t/clarification-of-synology-nas-diskstation-manager-dsm-documentation-of-lets-encrypt-integration/142511/4 "2021-02-11T03:04:54Z")

</div>

Closed on February 11, 2021, 3:04am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
