Closed DBC201 closed 2 years ago
continuation of https://github.com/DAB-Co/jam-mqtt/issues/2
the client requires it's own public private key pair to connect to the server via mqtts.
if the device doesn't have it's own public private key pair, request from server via /api/reqtls
{ username: username, token: token, }
the server will respond via
{ key: key, cert: cert, }
try with a self signed ca certificate first, otherwise disable the flag for unauthorized connections.
adding client.secure = true solved this issue
continuation of https://github.com/DAB-Co/jam-mqtt/issues/2
the client requires it's own public private key pair to connect to the server via mqtts.
if the device doesn't have it's own public private key pair, request from server via /api/reqtls
the server will respond via
try with a self signed ca certificate first, otherwise disable the flag for unauthorized connections.