Skip to content

Added TLS support for MQTT connections.#2459

Merged
sfeilmeier merged 25 commits into
OpenEMS:developfrom
inomotech-foss:feature/mqtt_tls_connection
Jan 16, 2024
Merged

Added TLS support for MQTT connections.#2459
sfeilmeier merged 25 commits into
OpenEMS:developfrom
inomotech-foss:feature/mqtt_tls_connection

Conversation

@samuelBloch

Copy link
Copy Markdown
Contributor

In order to use TLS with an MQTT connection, the user has to provide the path to the certificate (.cert.pem), private key (.private.key) and trust store (.der) files under "Controller Api MQTT" in the Apache Felix Web Console Configurator.

The functionality of this feature has been tested with an AWS MQTT test client.

@samuelBloch samuelBloch marked this pull request as draft December 15, 2023 12:39
@samuelBloch samuelBloch marked this pull request as ready for review December 15, 2023 12:40
@sfeilmeier

Copy link
Copy Markdown
Contributor

Thanks for updating! I fixed the build problems locally. Could you please give me write permissions on your branch?

By the way, this PR relates to #1575. Unfortunately back then I did not get feedback from community to finalize the implementation.

@scootermon

Copy link
Copy Markdown

Thanks for updating! I fixed the build problems locally. Could you please give me write permissions on your branch?

@sfeilmeier, Unfortunately, because the fork sits in an organization and not in a user-owned repo GitHub doesn't allow the setting to be turned on. I invited you directly to the fork so you can push the changes.

@sfeilmeier

Copy link
Copy Markdown
Contributor

@scootermon Thank you. I pushed changes. Could you have a quick look? From my side its ready to merge.

@github-actions

Copy link
Copy Markdown

Code Coverage

@samuelBloch

samuelBloch commented Jan 16, 2024

Copy link
Copy Markdown
Contributor Author

@scootermon Thank you. I pushed changes. Could you have a quick look? From my side its ready to merge.

@sfeilmeier Thanks for the review and your changes. For me, everything looks fine, connection to the MQTT test client works too.

@sfeilmeier sfeilmeier merged commit 855998c into OpenEMS:develop Jan 16, 2024
@sfeilmeier sfeilmeier deleted the feature/mqtt_tls_connection branch January 16, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants