Mosquitto add-on: Support client certs for bridge and user/pass for listeners

I have a use case where I want my mosquito add-on to connect to a cloud broker using a client-cert, but otherwise accept local connections using the standard username/password setup.

This doesn’t seem to work right now, When I use customize:true and setup my bridge, it works just fine, but then user/pass for local clients stops working. I can effectively switch which client gets connected by turning on and off ‘customize’.

I’m new to mosquitto, but looking at the docs it looks like we might ‘just’ need to add per_listener_settings true to the beginning of the mosquitto.conf template file. I can’t add this to the customization, as mosquitto startup fails stating that this needs to be added before all other authentication settings.