How do one go around debugging misbehaving TLS connections?

I am looking at Mosquitto MQTT broker logs with statements like

"
Client connection from <some host> failed: error:1408F10B:SSL routines:SSL routines:ssl3_get_record:wrong version number
"

Vexingly, the offending client binary doesn't trigger these messages when run from its build directory, but only from install directory.

Maybe the runtime linker is using a different SSL library than it was originally linked against?

Do I even know what I am talking about?

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!