Skip to content

Synology Certificate needs to be RSA instead of ECC based #12762

Open

Description

@mback2k

What is the issue?

Synology (at least DSM version 6) doesn't support ECC based certificates yet, so the Let's Encrypt certificate needs to be RSA based.

Steps to reproduce

admin:~$ sudo /var/packages/Tailscale/target/bin/tailscale configure synology-cert 
Password: 
error response from "import" method of "SYNO.Core.Certificate" API: &{5598 }

Are there any recent changes that introduced the issue?

Let's Encrypt recently switched their default to ECDSA instead of RSA:
https://community.letsencrypt.org/t/ecdsa-availability-in-production-environment/150679

OS

Synology

OS version

Synology DSM 6

Tailscale version

1.69.127

Other software

No response

Bug report

BUG-7553dd3da95eafcff8d57500a0e311a6bf7e074dc8907793af182f4cb82c8131-20240710075237Z-f56f5ad9c9910824

Activity

  1. mback2k commented on Jul 10, 2024

    @mback2k
    Author

    References: #4674 and #10994, also see https://dr-b.io/post/Synology-DSM-7-with-Lets-Encrypt-and-DNS-Challenge regarding the root cause:

    If you get Error 5598 it may be a problem with the certificate that is returned. Users have reported that adding the argument --keylength 2048 to the command will resolve it.

  2. added
    OS-synology
    on Jul 11, 2024
  3. mback2k commented on Oct 2, 2024

    @mback2k
    Author

    After upgrading to DSM 7, I can report that this issue only affects DSM 6 as DSM 7 supports ECC certificates.

  4. ukanuk commented on Dec 29, 2024

    @ukanuk

    DSM 6 is end-of-life as of October 1, 2024. Does that mean this issue can be closed as won't-fix?
    https://www.synology.com/en-us/products/status/eol-dsm62

    Imo devs should not focus any effort on this until/unless other users express a need for RSA-based certificates for devices still receiving security updates.

  5. NetroSK commented on Feb 3, 2025

    @NetroSK

    depends on how much effort is it to fix, I guess.

  6. mbisax commented on Feb 14, 2025

    @mbisax

    MeshCentral installed on synology with docker, uses RSA as a certificate for the meshcmd command. On Synology in NGINX, it is not possible, at least from what I have been able to experience, to obtain an RSA certificate from let's encrypt.
    Various sites propose as a solution to use the parameter "--key-type RSA" to obtain this type of certificate from let's encrypt.
    In which configuration file should this parameter be added?
    I have tried some solutions proposed in other systems but in Synology they do not work because when the Proxy-Reverse service restarts, the configuration returns to the default.
    Do you know of any solutions?

  7. rzv-trsc commented on Apr 22, 2025

    @rzv-trsc

    +1

  8. SychoSly commented on Apr 24, 2025

    @SychoSly

    I have an older Synology NAS 1812+ that is stuck on DSM6. I would like to be able to use a letsencrypt RSA cert. Please support this. Thank you

  9. jcputney commented on Apr 28, 2025

    @jcputney

    Same as @SychoSly, I have an offsite backup using an older Synology (still works, not a paperweight yet, despite DSM 6 being EOL), and I would appreciate it if this issue could be fixed.

  10. birk commented on Nov 1, 2025

    @birk

    +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-synologybugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions