Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mosquitto broker does not refresh SSL certs #3499

Closed
JeffFaer opened this issue Mar 3, 2024 · 1 comment
Closed

Mosquitto broker does not refresh SSL certs #3499

JeffFaer opened this issue Mar 3, 2024 · 1 comment
Labels

Comments

@JeffFaer
Copy link

JeffFaer commented Mar 3, 2024

Describe the issue you are experiencing

I connect to my mosquitto broker with SSL on port 8883. Apparently my mosquitto broker was running for a while (and I don't monitor my cron jobs particularly well) because today I noticed that they were failing due to the SSL cert being expired back on January 24th.

I use the DuckDNS add on to automatically refresh the SSL certs, and I was able to confirm that the certs currently in the ssl directory are valid until May.

Restarting the mosquitto broker fixes this problem.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

Mosquitto broker

What is the version of the add-on?

6.4.0

Steps to reproduce the issue

  1. Set up the DuckDNS add on to create SSL certs
  2. Set up the Mosquitto Broker add on to use the SSL certs that DuckDNS manages
  3. Check when the SSL certs are set to expire
  4. Run the Mosquitto Broker
  5. Wait until the certs expire
  6. Observe that SSL connections to the Mosquitto broker no longer work

System Health information

System Information

version core-2023.11.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 6.1.21-v8
arch aarch64
timezone America/Denver
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.32.1
Stage running
Available Repositories 1416
Downloaded Repositories 4
AccuWeather
can_reach_server ok
remaining_requests 29
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 11.1
update_channel stable
supervisor_version supervisor-2024.02.1
agent_version 1.6.0
docker_version 24.0.6
disk_total 30.2 GB
disk_used 24.3 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Z-Wave JS (0.4.4), Duck DNS (1.15.0), NGINX Home Assistant SSL proxy (3.8.0), File editor (5.8.0), Terminal & SSH (9.9.0), Mosquitto broker (6.4.0), backup-generator (dev), ESPHome (2024.2.1), docker-socket-proxy (dev-0.0.1)
Dashboards
dashboards 2
resources 2
views 3
mode storage
Recorder
oldest_recorder_run November 5, 2023 at 20:33
current_recorder_run November 5, 2023 at 13:33
estimated_db_size 621.54 MiB
database_engine sqlite
database_version 3.41.2

Anything in the Supervisor logs that might be useful for us?

n/a

Anything in the add-on logs that might be useful for us?

Unfortunately I already restarted my add on :(

Is there a good way for me to recover logs from a previous run?

Additional information

No response

Copy link

github-actions bot commented Apr 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Apr 2, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant