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.
The jwt token that i want as header for the authentication do you know where can i find it?
I put the one which is in the lora-app-server config file into /etc/default folder but it wasn’t accepted!
That’s because in the conf file you have the jwt secret, not a jwt token for a given user. You can get a token through the API web ui, or directly with curl by posting to /api/internal/login, which expects a json encoded user/pass pair: