Closed reubenmiller closed 6 months ago
I can confirm that thin-edge.io 1.0.2~175+g8df1b7d
now works when using a secure mosquitto MQTT broker setup. The Cumulocity IoT Cloud Remote Access feature now works as expected, the following setups were checked:
Describe the bug
When the
c8y.proxy
is configured to only accept secure local connections (e.g. cert based authentication), then the c8y-remote-access-proxy will not work, as this component does not use the configured client certificates.To Reproduce
This is a bit tricky to setup as it requires a very long procedure, so until the c8y-tedge PR is merged, only the broad steps are listed:
c8y.proxy
Expected behavior
The c8y remote access plugin should work when the c8y proxy is configured to use certificate based authentication.
Screenshots
Environment (please complete the following information):
Debian GNU/Linux 12 (bookworm)
Raspberry Pi 5 Model B Rev 1.0
Linux rpi5-d83addab8e9f 6.1.0-rpi7-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
tedge 1.0.1
Additional context
Below shows the c8y.proxy settings:
And then MQTT messages related to a c8y remote access operation is shown below along with the error message: