I was able to connect the RUT955 with my TCP Modbus slave, and is fetching the data correctly, when I configure the Modbus Service to send the data to my aws MQTT broker (AWS IoT Core) but without success. IoT Core logs shows:
PRINCIPALID: <id> [ERROR] EVENT:PublishEvent MESSAGE:PublishIn Status: CLIENT_ERROR
I logged in using router's root user via ssh and I was able to publish data to the broker using mosquitto_pub including same certs and key that I use using the WebUI (ModBus service). This proves that the router has the correct certificates and key to publish.
There is any other config that I should try? what I'm missing?