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

Sensor for Certificate expiry #16

Open
Riza-Aslan opened this issue Jan 6, 2025 · 0 comments
Open

Sensor for Certificate expiry #16

Riza-Aslan opened this issue Jan 6, 2025 · 0 comments

Comments

@Riza-Aslan
Copy link

Is there any possibility to get sensors for expiring LetsEncrypt Certs? I've NAT-rules on my opnsense firewall to grant access to my NPM from outside. But for security reasons only from german locations (IP-range). I've created a secound NAT-rule only to renew my LetsEncrypt certs, which I turn on and off manually, but that doesn't work very well.

My idea would be to handle this automatically by Home Assistant. I would need this integration to get the expiry date of my LetsEncrypt certs. Then I would create an automation which turns my Cert-renewal-NAT-rule on when the time comes und turns it back off after one day. It would be also nice to have such sensor to get notified via HA, when certs are expiring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant