I am developing an MQTT client application with NRF9160, trying to connect to a Mosquitto broker using TLS with three certificates. However, I am encountering an SSL version error while attempting to establish the connection. Below are the error messages:
ON NRF9160 SIDE:
Disconnecting MQTT client...+CSCON: 0
[00:03:06.727,081] <err> mqtt_simple: ERROR: mqtt_live: -128
[00:03:06.729,705] <err> mqtt_simple: Could not disconnect MQTT client: -128
[00:03:06.729,705] <inf> mqtt_simple: Reconnecting in 60 seconds...
ON BROKER SIDE:
1721805881: New connection from 10.10.104.103 on port 9502.
1721805881: OpenSSL Error[0]: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
1721805881: Socket error on client <unknown>, disconnecting.
-----------------------------PROJECT CONF: