Hello,
We are currently trying to connect to HiveMQ using the certificate provided by Let's Encrypt. However, we keep encountering an "invalid certificate" error during the connection process.
Although HiveMQ shows some connection activity, we are unable to gain access to our HiveMQ instance due to this issue. We have already installed and configured the certificate correctly, but the problem persists.
We are using only the CA certificate (without a client certificate) for authentication, and we need guidance on whether additional configurations are required.
Here are the AT commands we executed:
- List available certificates:
AT+CCERTLIST
Response:+CCERTLIST: "e6.ertificate.pem"
2.Configure authorization mode:
AT+CSSLCFG=authmode,0,1
Response:OK
3.Set CA certificate:
AT+CSSLCFG=cacert,0,isrgrootx1.pem
Response: OK
- Start MQTT service:
AT+CMQTTSTART
Response:OK
5.Acquire client status:
AT+CMQTTACCQ=0,"TEST_USER32",1
Response: OK
6.Set SSL context:
AT+CMQTTSSLCFG=0,0
Response: OK
Your guidance would be greatly appreciated.
7.Connect to MQTT broker:
AT+CMQTTCONNECT=0,"453f80f5df2941fcaf3697b7c1fd8848.s1.eu.hivemq.cloud",8883,1,1,"test_user","Test1234"
Response: ERROR
Could you please help us identify what might be causing this issue? Are there any additional settings required for Let's Encrypt certificates to work with HiveMQ?
Your guidance would be greatly appreciated.
Thanks in advance!