0
I'm used to connect PLC with mosquitto broker on VPS cloud via 8883 port (secure). But this time, function block always throw 80E4 error (No valid CA found). I have checked all conditions to connect to MQTT from PLC, they are correct.
I don't think problem come from broker or TLS versions because I can connect to it by other apps with tls v1.1 and v1.2, When I try to connect with TLS v1.0 (temporary disable TLS v1.0 to test) (by mqttfx or C# app), broker show error "unsupport protocol". But when I connect from PLC, broker just show error:
"New connection from IP on port 8883. Socket error on client <'Unknown'>, disconnecting".
This socket error only happen when I connect from PLC. So, what is root cause of socket error and what should I do to find solution for problem? I use PLC s7-1500 siemens.
Thanks.
Thanks for your advice. After manual check using wireshark, I found version of certificate is mismatch between server configuration and CPU configuration. Because CPU only support x.509 v3 certificate, but server pulish x509 v1 certificate, this is the reason why connection is crashed. – Lotha – 2019-08-15T03:41:15.550