Hello everyone,
I have installed the stack on my server, but when I tried to create mqtt api key (as illustrated on guide https://thethingsstack.io/v3.2.0/guides/getting-started/mqtt/), it failed as below
root@bjkjy-sys-ibase013:/home/lorattn_v322/CA3# ttn-lw-cli applications api-keys create --name mqtt-client --application-id 0000000000000001 --right-application-traffic-read --right-application-traffic-down-write –ca cacert.pem
oauth2: cannot fetch token: 404 Not Found
Response: {“code”:5,“message”:“error:pkg/identityserver/store:access_token_not_found (access token not found)”,“details”:[{"@type":“type.googleapis.com/ttn.lorawan.v3.ErrorDetails",“namespace”:“pkg/identityserver/store”,“name”:“access_token_not_found”,“message_format”:"access token not found”,“code”:5}]}
cacert.pem is a self-signed root certificate, if not use it, it would fail as below
root@bjkjy-sys-ibase013:/home/lorattn_v322/CA3# ttn-lw-cli applications api-keys create --name mqtt-client --application-id 0000000000000001 --right-application-traffic-read --right-application-traffic-down-write
Post https://localhost:8885/oauth/token: x509: certificate signed by unknown authority
I have no idea what the problem it is, and any body know how to fix it?
Best Regards