thin-edge / thin-edge.io

The open edge framework for lightweight IoT devices
https://thin-edge.io
Apache License 2.0
221 stars 54 forks source link

Don't rely on accessing the public device certificate to get the device's common name #2166

Open reubenmiller opened 1 year ago

reubenmiller commented 1 year ago

Is your feature improvement request related to a problem? Please describe.

In instances where mosquitto is not being run on the same device as the thin-edge components (e.g. in the containerization scenario), the thin-edge.io components currently rely on access to the public device's certificate to get the external identity (required for some API calls to Cumulocity).

Describe the solution you'd like

The thin-edge.io components should be able to check what the device's common name via MQTT or REST. It should not rely on having access to the device's public certificate.

Describe alternatives you've considered

Additional context

reubenmiller commented 11 months ago

This has been solved for the following components:

Remaining:

Not Applicable: