since a long time, i am trying to bring up a mqtt secure-connection between a KEPServer EX6 an the HiveMQ Cloud, but i get always the message ‘TCP/TLS connect failure’ and i don’t kno why.
TLS/SSL is active, Port is 8883, Firewall is down. I trieded to generate a certifacte and imported that, with any results.
A connection to the public hive, without secure, works.
Perhaps someone has experience with this software.
The -s or --secure flag indicates to use TLS, the -uuser and -pwpassword are needed to authorise the client to your cluster.
In case if your client device requires a server certificate, you can get one with openssl s_client tool as described in our FAQ here: Frequently Asked Questions
I hope this helps, if you are further questions please let me know.
i have tried your suggestions, without success.
I always get this fault message:
Datum Zeit Ebene Quelle Ereignis
08.02.2022 09:47:27 Warnung MQTT Client Fehler bei Verbindungsherstellung zum MQTT-Server. | Kanal = ‘MQTT’, Server = ‘ssl://969334f7758940b68647532c8b86c46a.s1.eu.hivemq.cloud:8883’, Grund = ‘TCP/TLS connect failure’.
after many attempts, i came to the conclusion that you have to use the IoT-Gateway-Function.
Looks like the Connectivity-Function only works with a local mqtt-broker.