I was almost there, except i forgot to update the certificates. Anyways done that, but yet it still fails.Partly due to, i think, being aninsecure certificate.
if i connect from the terminal
curl -H "Content-Type: application/json, Accept-Charset: UTF-8" -X POST -d '{"pass" : "Geheim", "right" : "usr"}' https://192.168.178.21/dyn/login.json
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://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.
yet if i pass the -k option i can get a sessionid
curl -k -H "Content-Type: application/json, Accept-Charset: UTF-8" -X POST -d '{"pass" : "Geheim", "right" : "usr"}' https://192.168.178.21/dyn/login.json
{"result":{"sid":"PnLiT_anQZPnt8K9"}}
Unfortunately the app still can't handle this situation of a probably insecure certificate.