Configure Mosquitto broker with TLS [message #1731470] |
Thu, 05 May 2016 12:46  |
Eclipse User |
|
|
|
I am trying to configure Mosquitto broker with TLS support using the steps mentioned in the following mosquitto.conf file:
# mosquitto.conf
pid_file /var/run/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
log_dest file /var/log/mosquitto/mosquitto.log
cafile /etc/mosquitto/ca_certificates/ca.crt
certfile /etc/mosquitto/certs/myhost.crt
keyfile /etc/mosquitto/certs/myhost.key
I want to use MQTT with TLS .
But I am getting error for all the parameters except "listener" that are configured in mosquitto.conf file.
For e.g.
$ mosquitto -c mosquitto.conf
Error: Unknown configuration variable "cafile"
Error: Unable to open configuration file.
Which version of mosquitto supports TLS? Or is there anything else that I am missing?
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25815 seconds