]> git.proxmox.com Git - mirror_acme.sh.git/commit
Support DSM 6 and 7
authorBrian Hartvigsen <brian.andrew@brianandjenny.com>
Thu, 10 Dec 2020 03:35:50 +0000 (20:35 -0700)
committerBrian Hartvigsen <brian.andrew@brianandjenny.com>
Thu, 10 Dec 2020 03:35:50 +0000 (20:35 -0700)
commit7d7789ae96ef4061dfb97c41d45a7b017626d305
treec65770e9547f66cc406c2a278b326332c9f392f0
parentcc69285420a49f118acb37c77e3c8f9f73c19f7f
Support DSM 6 and 7

Small changes for DSM 6:

All fields (except enable_syno_token as explained below) must either be in the GET params or the POST params, you can't mix GET and POST params
enable_syno_token=yes must be in both the GET and POST params.
If enable_syno_token=yes is only in the POST fields, then DSM6 returns a synotoken of --------. If enable_syno_token=yes is only in the GET params, then it returns no synotoken at all. It must be in both to work.
Need to use /webapi/auth.cgi instead of /webapi/entry.cgi
Verified with DSM 6.2.3-25426 Update 2 and DSM 7.0-40850
deploy/synology_dsm.sh