New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL/TLS connection configuration #42
Comments
Does the user (which is used to run the PHP web server or CLI script) have read permissions to the certificates? And can you give the output of |
Thanks, then another check: And are you sure that the Laravel configuration is not cached? Your check above did query the |
Ok thank you very much for your help, I understood what the error was. With the Instead, I have this one |
The error is actually the most accurate one can give, PHP literally gives no info in some cases. My best guess is that |
Ok thanks for your help and your time it's very appreciated. I'm now able to connect without SSL/TLS so my problem is now more at the level of my MQTT broker. I will continue my research at this level. Thanks |
I try to connect my Laravel web application to a MQTT broker with SSL/TLS. I have configure the .env file in my web application:
It seems to have an issue because I get this error when the app try to connect:
PhpMqtt\Client\Exceptions\ConfigurationInvalidException
Certificate Authority file setting must contain the path to a regular file.
I have try to add quotes, double quotes and curly brakets but nothing works.
I have triple check the pathname and all is good.
When I dump and die the env variable I get the good path:
It have something I doing wrong or is an issue with the package?
The text was updated successfully, but these errors were encountered: