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

You may also like...

  • 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:

    ./acme.sh –issue –post-hook “kill -USR1 cat /run/httpd/httpd-sys.pid” -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:

      acme.sh –issue –post-hook “kill -USR1 cat /run/httpd/httpd-sys.pid” -d muffinstation.naschenweng.info –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?