Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MQTT TLS Support for WIFI-Enabled Devices #2410

Merged
merged 11 commits into from
Apr 4, 2023

Conversation

ghostop14
Copy link
Contributor

This PR adds the ability to enable TLS transport encryption for MQTT to protect username / password credentials in transit. @thebentern added a protobuf option for mqtt.tls_enabled (defaulting to false) to support this functionality.

This update covers only those devices that have HAS_WIFI set during build (e.g. ESP32 devices) leveraging the WiFiClientSecure class with the insecure() setting. It does not provide server certificate validation as this would require uploading CA's, signatures, or CA bundles.

@thebentern thebentern merged commit 990d418 into meshtastic:master Apr 4, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2023

🤖 Pull request artifacts

file commit
pr2410-firmware-2.1.7.3fedf92.zip 3fedf92

thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 4, 2023
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.

None yet

3 participants