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
Mosquitto_pub/_sub cryptic protocol error message on invalid server certificate #2746
Comments
More info: turning on the debug mode with
|
Thank you. This was a regression from a previous error that correctly mentioned a TLS problem. I have made the fix in the fixes branch, which will become 2.0.16, and then be merged to the develop branch. |
ralight
added a commit
that referenced
this issue
Apr 1, 2023
Closes #2746. Thanks to Akos Vandra-Meyer.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Repro:
foo.example.com
./client/mosquitto_sub -t topic -i clientid -h bar.example.com -p 8883 --capath /etc/ssl/certs
Expectation:
Actual:
Error: Protocol error
Super confusing, because I thought there was an actual mismatch of TLS versions, or the server not accepting TLS connections or the client not trying to start a TLS connection.
The text was updated successfully, but these errors were encountered: