Automatic SSL renewal with Let’s Encrypt on DSM 5.x / Synology DS1010+ via dns-01 verification

  • alea

    Hi Gerd, thanks a lot for your nice solution! It can save me a lot of headaches!!

    I tried the procedure, but, when I entered the command:

    ./ –issue –post-hook “kill -USR1 cat /run/httpd/” -d etc…

    the system answered:

    syntax error: unexpected end of file

    I see that the command ends with:

    … -fullchainpath /usr/syno/etc/ssl/ssl.inter

    maybe there is some typo?

    Thanks again!

    • Hi there,

      I noticed that WordPress somehow messed up the command in the code-preview – I think it is fixed now, but try as: –issue –post-hook “kill -USR1 cat /run/httpd/” -d –dns dns_cf –certpath /usr/syno/etc/ssl/ssl.crt/server.crt –keypath /usr/syno/etc/ssl/ssl.key/server.key –fullchainpath /usr/syno/etc/ssl/ssl.inter

      • Bob ten Berge

        Actually, the last part of the path is cut short.
        It should say “/usr/syno/etc/ssl/ssl.intercrt”.

        PS: Other than that, excellent howto!

  • David T

    You don’t happen to have any experience with this in DSM6 do you?

    • ahdi

      you don’t need experience with DSM 6 – it supports let’s encrypt natively.