nginx-proxy-manager-switches icon indicating copy to clipboard operation
nginx-proxy-manager-switches copied to clipboard

Sensor for Certificate expiry

Open Riza-Aslan opened this issue 10 months ago • 0 comments
trafficstars

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.

Riza-Aslan avatar Jan 06 '25 06:01 Riza-Aslan