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.
Hi - thanks for the quick response. The FAQ has quite a few posts about certs and I have followed a number of them in attempts to get the correct cert. Can you point me to the specific FAQ post that is the right one and should work? Thanks