You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some kind of error message specifying that the server provided an invalid certificate / a valid certificate with the incorrect CN.
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:
More info: turning on the debug mode with -d does provide the information, but I'd not expect to need that to be presented with a comprehensible error message:
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.
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: