For a project I use MQTT to communicate with a PLC, but I would like to secure this communication line with TLS. For this connection I need to use port 8883. I looked at the code and found a variable called Secure in MqttConnection.cs, yet when i set this variable it is not possible to connect to the broker.
The communicator log gives: “Error communicating with Device 61 “MQTT”: Cannot read data from the trasportline: External host has disconnected the connection.”
The broker log gives: “OpenSSL Error: error:1408F10B: SSL routines:ssl3_get_record:wrong version number”.
It looks like it is possible, but i cannot figure out how.
Is this possible?
With kind regards.
Your question is very interesting. The MQTT driver has been developed by our community, the author is https://github.com/bersim
We can recommend the following ways for solution to your issue:
1) You can contact the developer of this diver, perhaps he was facing with this issue.
2) Developers of Rapid SCADA on a paid basis can solve this problem.
Thank you for your question.
Rapid SCADA team