I am attempting to connect with phpMQTT ( bluerhinos/phpMQTT) to the free version of HiveMQ Cloud. I have experimented with multiple variants of certificates but cannot get it to connect to HiveMQ. Fails every time (with no error code unfortunately).
I see here Ssl: certificate_verify_failed, that there may be trust issue with the certificates… would this effect phpMQTT?
Could someone walk me through the steps to produce the correct cert file for the free HiveMQ version and how to properly use it to connect from phpMQTT.
Env - PHP8.0 on Linux
Dev - Win 10