Closed
Description
Repro:
- Check out the develop branch
- Create a server offering a certificate with CN
foo.example.com
- Open a connection via mosquitto_sub with another address pointing to the machine, such as:
./client/mosquitto_sub -t topic -i clientid -h bar.example.com -p 8883 --capath /etc/ssl/certs
Expectation:
- 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.
Metadata
Metadata
Assignees
Labels
No labels