Hello,
Could you help me connect my HiveMQ MQTT cluster with a Teltonika RUT200 router?
I tried to ask Teltonika support, and they advised me to use https://flespi.io/. I tried it, and it’s working, but I want to use a HiveMQ cluster instead.
Could someone tell me how to fill out the form? I tried many options, but all were unsuccessful.
Hello @Sarunas
The Hostname field is incorrect. You can find the correct Cluster URL in the HiveMQ Cloud Portal (e.g., 81a968e010344ddc9ac7fbe15e01ab6d.s2.eu.hivemq.cloud).
The Client ID field can be set to any value. If left empty, a random Client ID will be generated automatically.
The Username and Password should be the credentials you defined in the HiveMQ Cloud Portal. These are required for MQTT clients to connect to your HiveMQ Cloud cluster.
The other fields look good!
Kind regards,
Diego from HiveMQ Team
Hello @Diego,
do need CA file when connect to MQTT cluster?
Hi @Sarunas
Yes, it’s needed! Additionally, to establish a TLS connection to the HiveMQ Cloud (Serverless offer), you must ensure that your Teltonika router RUT200 device supports and uses the TLS protocol extension called “SNI” (Server Name Indication). This TLS extension provides the server’s hostname in the “Client Hello” TLS packet.
Kind regards,
Diego from HiveMQ Team
Okay, I am waiting support answer from Teltonika about SNI because I don’t know if the router supports SNI or not. I want to ask. Am I using the correct HIVEMQ SSL CA file? I found this file in the topic ‘Getting Started with Mosquitto CLI’ CA file
Hi @Diego could you see my last message about HIVEQM TLS CA file?
Hi Serunas,
Yes, this is the correct root ca: https://letsencrypt.org/certs/isrgrootx1.pem
I hope it helps
Dasha from the HiveMQ Team