Hello everyone,
I want connect my mosquitto client installed on openwrt with the brocker using SSL.
Without SSL it working, and I have another client in widows cat MQTTX is working with plaintext
- ssl with provided certificates.
But when I connect in this mosquitto I get this error
1730108448: Bad socket read/write on client local.Test1: Invalid arguments provided.
1730108500: mosquitto version 2.0.15 running
below is the configs
connection emqx1
listener 8883
protocol mqtt
address <BrockerIP>:8883
bridge_protocol_version mqttv50
remote_clientid TEST1
remote_username TEST1
remote_password SecurePASS
topic responses/Test1/# out 2
topic received/Test1/# in 2
cafile /etc/mosquitto/certs/ca.crt
keyfile /etc/mosquitto/certs/client.key
certfile /etc/mosquitto/certs/client.crt
require_certificate true
here is the version and board detail
See the details here
NAME="ImmortalWrt"
VERSION="21.02-SNAPSHOT"
ID="immortalwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="ImmortalWrt 21.02-SNAPSHOT"
VERSION_ID="21.02-snapshot"
HOME_URL="https://immortalwrt.org/"
BUG_URL="https://github.com/immortalwrt/immortalwrt/issues"
SUPPORT_URL="https://github.com/immortalwrt/immortalwrt/discussions"
BUILD_ID="r0-b439f3df"
OPENWRT_BOARD="mediatek/mt7981"
OPENWRT_ARCH="aarch64_cortex-a53"
OPENWRT_TAINTS="no-all busybox"
OPENWRT_DEVICE_MANUFACTURER="ImmortalWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://immortalwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="ImmortalWrt 21.02-SNAPSHOT r0-b439f3df"