Open vampywiz17 opened 2 months ago
Did you try url: "ssl://<MQTT SERVER>:1883"
instead of url: "tcp://<MQTT SERVER>:1883"
?
I do not use SSL/TLS myself so I cannot test it.
@Legobas
seems work, but possible skip cert?:
FATAL MQTT connection error="network Error : tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match xxxxxxxx.com"
I hope it help, but i don't know possible to set it up in conf. file:
https://github.com/eclipse/paho.mqtt.golang/blob/master/cmd/ssl/main.go#L90
Hello ,
Possible to add SSL option to MQTT config? (TLS not necessary)