root@Diskstation:/usr/local/filebot-node# curl -v
http://192.168.1.3:5452/auth
> GET /auth HTTP/1.1
> Host: 192.168.1.3:5452
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Type: text/json
< Access-Control-Allow-Origin: *
< Date: Tue, 16 Aug 2016 15:27:41 GMT
< Connection: keep-alive
< Content-Length: 51
<
{"success":true,"data":{"auth":"SYNO","user":null}}root@Diskstation:/usr/local/filebot-node# curl -v
https://192.168.1.3:5453/auth
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (OUT), TLS alert, Server hello (2):
* SSL certificate problem: unable to get local issuer certificate
* TLSv1.2 (OUT), TLS alert, Client hello (1):
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here:
http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
=================================
root@Diskstation:/usr/local/filebot-node# ls -l /usr/syno/synoman/webman/3rdparty/
total 8
lrwxrwxrwx 1 root root 36 Nov 8 2014 addon-aws_s3 -> /usr/syno/synobackup/addon/aws_s3/ui
lrwxrwxrwx 1 root root 40 Nov 8 2014 addon-azure_blob -> /usr/syno/synobackup/addon/azure_blob/ui
lrwxrwxrwx 1 root root 40 Nov 8 2014 addon-hicloud_s3 -> /usr/syno/synobackup/addon/hicloud_s3/ui
lrwxrwxrwx 1 root root 36 Nov 8 2014 addon-sfr_s3 -> /usr/syno/synobackup/addon/sfr_s3/ui
lrwxrwxrwx 1 root root 34 Aug 16 11:46 AntiVirus -> /var/packages/AntiVirus/target/app
lrwxrwxrwx 1 root root 37 Aug 16 11:46 AudioStation -> /var/packages/AudioStation/target/app
lrwxrwxrwx 1 root root 39 Aug 16 11:46 DownloadStation -> /var/packages/DownloadStation/target/ui
drwxr-xr-x 2 root root 4096 Aug 16 12:29 filebot-node
lrwxrwxrwx 1 root root 35 Aug 16 11:46 HyperBackup -> /var/packages/HyperBackup/target/ui
ect...
=================================
root@Diskstation:/usr/local/filebot-node# cat /etc/init/filebot-node.conf
description "FileBot Node Server"
chdir /usr/local/filebot-node
exec /usr/local/filebot-node/start
console log
=================================
root@Diskstation:/usr/local/filebot-node# curl -I
http://localhost:5000/webman/3rdparty/f ... index.html
HTTP/1.1 404 Not Found
Server: nginx
Date: Tue, 16 Aug 2016 15:35:00 GMT
Content-Type: text/html
Content-Length: 11939
Connection: keep-alive
Keep-Alive: timeout=20
Vary: Accept-Encoding
ETag: "57502b45-2ea3"
===================================
root@Diskstation:/usr/local/filebot-node# ls -l /var/packages/filebot-node
total 28
drwxr-xr-x 2 root root 4096 Aug 16 12:52 conf
lrwxrwxrwx 1 root root 35 Aug 16 12:52 etc -> /usr/syno/etc/packages/filebot-node
-rw-r--r-- 1 root root 19166 Aug 16 12:52 INFO
drwxr-xr-x 2 root root 4096 Aug 16 12:52 scripts
lrwxrwxrwx 1 root root 31 Aug 16 12:52 target -> /volume1/@appstore/filebot-node