|Re: [mosquitto-dev] Mosquitto SSL Error : Unable to connect (A TLS error occurred.)|
Did your broker have a configuration with the same cert file?
If so, what is your system architecture?
Have a good day.
From: "Cedric VIVES"<cvives@xxxxxxxxxxxxxxxx>
Sent: 2018-04-20 (금) 17:37:27
Subject: [mosquitto-dev] Mosquitto SSL Error : Unable to connect (A TLS error occurred.)
I have installed a LoRa Server with the following services :
- MQTT Broker (1.4.15-0mosquitto1~xenial1)
On the other side, A raspberry Pi (with raspbian) send data with the LoRa-Gateway-Bridge.
When the connection is unencrypted (tcp://@server on the
LoRa-Gateway-Bridge.toml), it works !
However, in ssl :
The client is connected :
1524211792: New connection from xxx.xxx.xxx.xxx on port 8883.
1524211792: New client connected from xxx.xxx.xxx.xxx as 96240ae6-28cb-446c-8dd2-0d2d9f045487 (c1, k30).
But it the server doesn't receive anything because :
mosquitto_sub -h FQDN_OF_MY_SERVER -p 8883 -t "#" --cafile
=> Unable to connect (A TLS error occurred.)
-- Cédric VIVES Pôle Infrastructures Informatiques et Télécommunication Centre de Services Numériques Tél. : +33 (0)5 61 55 93 72 cedric.vives@xxxxxxxxxxxxxxxx INSA Toulouse 135 avenue de Rangueil 31077 Toulouse CEDEX 04 France www.insa-toulouse.fr
Back to the top