mosquitto
mosquitto copied to clipboard
Error: Problem setting TLS options: File not found.
Hello, im just trying to send some data using certificates. But i cant mention how to fix Error: Problem setting TLS options: File not found. My command looks like this:
mosquitto_pub -h XX.XX.XX.XX -p 8883 --capath /etc/ssl/certs/ --cert device-cert.pem --key device-key.pem -q 1 -t telemetry -m "Hello there"
Ive also tried it with sudo and tried the capath where i initially created the cert and key, but that also wont work. Im a bit helpless right now.
Are device-cert.pem and device-key.pem in the current directory and have the correct permissions?
anyone found solution for this?