Re: [weewx-user] mosquitto & SSL

2023-09-29 Thread Stefan Gliessmann
good catch - I had them actually *copied* ... but nevertheless, I shall probably *link* them as I copied cert1.pem, etc ... otherwise, in three months I will wonder why MQTT stopped working suddenly ;) On Fri, Sep 29, 2023 at 4:35 PM Graham Eddy wrote: > i was expecting log file to show either

Re: [weewx-user] mosquitto & SSL

2023-09-29 Thread Graham Eddy
i was expecting log file to show either file not found (misnamed) or permission denied (user ‘mosquitto’ not able to read). maybe need to add log_type debug to config file to get that message. anyway, looks like you fixed perms problem note: if you moved (not copied) them from letsencrypt, bette

Re: [weewx-user] mosquitto & SSL

2023-09-29 Thread Stefan Gliessmann
Well - I just moved my certs from the lets encrypt dir to the mosquitto/cert dir and now mosquitto restarted without problems ... :) On Fri, Sep 29, 2023 at 3:41 PM Graham Eddy wrote: > try sudo journalctl -u mosquitto -n 50 to see the log messages (or sudo > tail -50 /var/log/mosquitto/* if it

Re: [weewx-user] mosquitto & SSL

2023-09-29 Thread Stefan Gliessmann
root@weewx:/# sudo journalctl -u mosquitto -n 50 Sep 29 15:31:52 weewx mosquitto[542060]: 1695994312: Loading config file /etc/mosquitto/conf.d/myconfig.conf Sep 29 15:31:52 weewx systemd[1]: *mosquitto.service: Main process exited, code=exited, status=1/FAILURE* Sep 29 15:31:52 weewx systemd[1]

Re: [weewx-user] mosquitto & SSL

2023-09-29 Thread Graham Eddy
try sudo journalctl -u mosquitto -n 50 to see the log messages (or sudo tail -50 /var/log/mosquitto/* if it puts them there instead) ⊣GE⊢ > On 29 Sep 2023, at 11:35 pm, Stefan Gliessmann > wrote: > > I am trying to get my weather station web presence secure with https:// > Therefore, I also ne

[weewx-user] mosquitto & SSL

2023-09-29 Thread Stefan Gliessmann
I am trying to get my weather station web presence secure with https:// Therefore, I also need my MQTT server be secure via SSL. I followed the setup by https://obrienlabs.net/how-to-setup-your-own-mqtt-broker/ I received my certificates from Let's encrypt and edited my mosquitto config file ac