Hi Dasha,
Thank you for your reply!
I am able to connect to “broker.hivemq.com”, port 1883 without issue.
So the problem must indeed be related to the SSL configuration.
One other thing.
Here is the MQTTS documentation for the SIM7080 module
As you can see at points 5.2 and 5.3.2 (MQTTS examples), they’re using 3 files for the TLS connection:
- the root CA (in our case that’s isrgrootx1.pem)
- the client certificate
- the client’s private key
I read that you’re doing a one way handshake and so HiveMQ doesn’t require the last 2 files, but maybe my module does.
I just found this topic where Diego suggested to add those files to the modules and use them for the TLS handshake anyway. The topic was not resolved and the module is from a different brand than mine, but maybe it applies too. If so, how can I generate those 2 files? I tried to follow Diego’s process, installed openssl, but I’m getting to a series of questions and I never get the certficates at the end…
Thanks again for your assistance!