unable to Sub scribing with Mqtt data in AWS IoT core with greengrass deployment

0

Currently I am unable to publish data with custom own Mqtt broker to aws iot core. Whereas I am able to publish data to open MQTT server i.e broker.emqx.io. Is there any configuration need to be provide like, certification of AWS? Or access id and secrete key is enough?

已提问 2 年前257 查看次数
1 回答
1

Hi. To publish or to subscribe to IoT Core from a Greengrass component, the recommended way is to use the messaging IPC service: https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-iot-core-mqtt.html

It is possible to use an MQTT client directly from within a component to connect to IoT Core. The client would have to meet one of the IoT Core client authentication methods. Most commonly, an X.509 certificate. IPC is preferred though and takes advantage of the Greengrass core device's existing identity.

profile pictureAWS
专家
Greg_B
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则