Repository navigation
Warn when MQTT uses SSL without a CA certificate - #1340
Merged
Merged
Conversation
gskjold
force-pushed
the
mqtt-ssl-no-ca-warning
branch
from
December 4, 2026 09:20
f59bcb7 to
b487d88
Compare
Without an uploaded CA the firmware connects with setInsecure(): the connection is encrypted, but the broker's certificate is not verified. The configuration page gave no hint of this. Show a warning under the certificate buttons while SSL is enabled and no CA is uploaded. Co-Authored-By: Claude Fable 5.2 <[email protected]>
gskjold
force-pushed
the
mqtt-ssl-no-ca-warning
branch
from
December 4, 2026 09:40
b487d88 to
f580351
Compare
🔧 PR Build ArtifactsVersion: All environments built successfully. Download the zip files:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
When SSL is enabled for MQTT and no CA certificate is uploaded, the firmware connects with
setInsecure(): the connection is encrypted, but the broker's certificate is not verified, so the device cannot tell the real broker from an impostor. The configuration page gave no hint of this; a user could tick SSL and reasonably assume the connection was fully secured.Changes
conf.mqtt.no_cainlocalazy/source/en.json, with the English text as fallback in the page.ui/distrebuilt.It is a warning only: saving is not blocked and the connection behaviour is unchanged.
Verification
npm run buildandpio run -e esp32s2succeed.🤖 Generated with Claude Code