• Synology DSM 6.1 (xpenology) Lets Encrypt ACMEv1 to ACMEv2

    If you get messages like:

    synoscgi_SYNO.Core.Certificate.LetsEncrypt_1_create[5038]: certificate.cpp:957 syno-letsencrypt failed. 200 [new-req, unexpect httpcode]
    synoscgi_SYNO.Core.Certificate.LetsEncrypt_1_create[5038]: certificate.cpp:1359 Failed to create Let'sEncrypt certificate. [200][new-req, unexpect httpcode]
    

    Then you need to upgrade your DSM up to version 6.2 or replace execution (syno-letsencrypt) file and some changes in configuarion file:

    1. Download file syno-letsencrypt (this file from DSM v6.2)

    2. If not enabled SSH, please enable in settings

    3. Copy downloaded file syno-letsencrypt in any folder on you NAS

    4. Connect to NAS with SSH (Putty) using admin account

    5. Make backup of original syno-letsencrypt (sudo cp /usr/syno/sbin/syno-letsencrypt usr/syno/sbin/syno-letsencrypt.bck)

    6. Copy downloaded syno-letsencrypt file to directory /usr/syno/sbin/ (ex.: sudo cp /volume1/sharedFolder/syno-letsencrypt /usr/syno/sbin/)

    7. Change attributes (sudo chmod 755 /usr/syno/sbin/syno-letsencrypt) to execute new file

    8. Now change default address for syno-letsencrypt, using ssh (sudo vi /usr/syno/etc.defaults/letsencrypt/letsencrypt.default)

    9. Fine string "server": "https://acme-v01.api.letsencrypt.org/directory", press i and change 01 to 02

    10. Press escape, enter :wq and reboot your NAS.

    Categories: NAS, Блог

    Метки: , ,

    Comments are currently closed.