Can't find Mosquitto installation directories

I have created a Home Assistant instance via the offical .ova appliance file on

Then I installed the Mosquitto add-on via Supervisor | Add-on store | Mosquitto using the default config file and started Mosquitto.

The log file showed the following but I can’t find /etc/mosquitto.conf or /usr/share/mosquitto

I need to make changes to mosquitto.conf and also need to deposit the cert/key for SSL/TLS connection. Where is Mosquitto installed?

[22:54:06] INFO: Setup mosquitto configuration
[22:54:06] WARNING: SSL not enabled - No valid certs found!
[22:54:06] INFO: No local user available
[22:54:07] INFO: Initialize Add-on services
[22:54:07] INFO: Initialize Home Assistant discovery
[22:54:07] INFO: Start Mosquitto daemon
1602676447: mosquitto version 1.6.3 starting
1602676447: Config loaded from /etc/mosquitto.conf.
1602676447: Loading plugin: /usr/share/mosquitto/
1602676447: |-- *** auth-plug: startup
1602676447:  ├── Username/password checking enabled.
1602676447:  ├── TLS-PSK checking enabled.
1602676447:  └── Extended authentication not enabled.
1602676447: Opening ipv4 listen socket on port 1883.
1602676447: Opening ipv6 listen socket on port 1883.
1602676447: Opening websockets listen socket on port 1884.
1602676447: Warning: Mosquitto should not be run as root/administrator.

The addon is in a separate docker container to home assistant.

Use the addon configuration options to add SSL/TLS certs.

1 Like

Not sure I understand - not familiar with docker containers.

So there’s no way for me to access mosquitto.conf when Mosquitto is installed via the Home Assistant add-on and the only way to configure Mosquitto is via the add-on configuration? SSL/TLS is part of the changes I need to make. What does

1602676447: Config loaded from /etc/mosquitto.conf.

refer to?

Well there is but if you don’t understand what you are doing I’m hesitant to recommend it. Especially as the settings you want to change are available in the addon options, as I linked to above.

1 Like

Haha, I’m definitely at the steep end of the learning curve. You’re right on that. The system I’m running this on is not connected to anything - kind of a sandbox environment to learn. As mentioned SSL/TLS is just one aspect that needs changing.

I’m happy to find the answer myself if you point me in the right direction.

You can access the container using the Portainer addon.

ok txs. Will give that a go


Were you able to figure this out? I also can’t find the mosquitto.conf file in my home assistant setup.