Help Needed with Configuring MQTT Agent to Connect to AWS IoT Core

Hello,

I am trying to configure an MQTT Agent in OpenRemote . To connect to an AWS MQTT broker using certificate-based authentication. I have prepared the necessary certificates (AmazonRootCA1.pem, device.pem.crt, private.pem.key) and uploaded them to the OpenRemote Manager.

Below is the configuration :
{
“protocol”: “mqtts”,
“host”: “a1o1xxyyzz86k-ats.iot.us-east-1.amazonaws .com”,
“port”: 8883,
“caPath”: “/path/to/AmazonRootCA1.pem”,
“certPath”: “/path/to/device.pem.crt”,
“keyPath”: “/path/to/private.pem.key”
}
Even after following these steps, I am not able to fix a connection. The logs show connection errors, but I am not able to identify the exact issue. I have checked https://docs.aws.amazon.com/iot/latest/developerguide/device-advisor-setting-up.html-
aws developer associate guide but still need help .

Has anyone successfully connected an MQTT Agent in OpenRemote to AWS IoT Core?

Thanks in advance for your help! :slightly_smiling_face:

Thank you

Hey Marco,

Thanks for creating a post here. We identified that we need to implement mTLS for MQTT Agents. I’m working on this feature as it’s definitely something useful. I will also let you know when it is merged. Thanks!