thingsboard / thingsboard-edge

Apache License 2.0
93 stars 71 forks source link

Require clarification for External-MQTT Node Certificate/Keys in Rule Chain #101

Closed ankushdineshrana closed 3 months ago

ankushdineshrana commented 3 months ago

Component

Description I am trying to send data to an external MQTT broker (AWS Greengrass Moquette) using External-MQTT Node of Thingsboard Rule Engine. Here is what I have done:

  1. I have checked via python code, that Greengrass moquette setup works fine using CA Certificates (Root & Device) & Private Key.
  2. But when I try to do the same with External-MQTT node, it gives error below:

image

  1. Here is what my External-MQTT node setup looks like. image

  2. I feel like it might be because of mis-match in cert/keys expected formats. The documentation also doesn't specify much about the exact formats for certs/keys i.e. RSA, ECC etc. image

Can someone please suggest if anything being missed here or exact formats that I need to upload.

Environment

ankushdineshrana commented 3 months ago

@JavierNR @volodymyr-babak @peterchen5 @ashvayka Can you please guide me here.

volodymyr-babak commented 3 months ago

@ankushdineshrana

I'm going to answer this question inside next issue on thingsboard project: https://github.com/thingsboard/thingsboard/issues/10465