Report cert update success status / lifetime remaining
-
I would like to politely ask for a bit more info around cert updates, please.
I received an email yesterday from LetsEncrypt saying I had one day left on my cert renewal for the
my
domain in my Cloudron instance. It is not spam or a scam; I believe this email was legitimately from certbot.I pushed the "renew certs" button in the control panel, but... did it work? How would I know? I read the logs, and played with
openssl
; of course, the latter is an external measure, and may be confused by my Cloudflare proxy. I think the update worked... but, visual log parsing is the hard way to figure out if a complex process succeeded. Was thatnull
result buried in a JSON log an indicator of success? It was late, I was tired, and perhaps tomorrow my certs will fail.- It would be nice if the dashboard/control panel told me, after pressing the button to update certs, if the system thought it succeeded.
- It would be nice if that same panel area are simply told me "Certs last renewed on <date>, expire on <date>, and the next cert update will run on <date>."
Cheers,
Matt -
Have you seen any previous cert renewal notifications in your dashboard?
Further you can check the validity of a cert using your browser when you click the lock icon in the URL bar. It should show the issuer as well as the dates for which it is valid. -
@jadudm said in Report cert update success status / lifetime remaining:
It would be nice if the dashboard/control panel told me, after pressing the button to update certs, if the system thought it succeeded.
ah indeed, this looks like an obvious UI notification we missed. for the moment, you can click on the "lock" icon in the browser URL bar and it will give you certificate information.
If you click the lock above (firefox), then 'Connection secure' -> 'More information'. That gives the expiry:
-
@nebulon Many thanks, @nebulon and @girish . The concern wasn't so much that I could not figure out what the status of my certs were external to Cloudron, but more that it would be nice if the area of the dashboard regarding certs would, as a matter of course, just say "You have 47 days remaining, and Cloudron should automatically update your certs in 17 days."
And, if I do mash the button to manually run a cert update, it would be nice to get a response in the dash that says "Success! New certs will expire in 90 days!" (Or, whatever it would say.)
I was mostly surprised that I got a certbot email saying I only had one day left, making me wonder what was up. (I did do a domain registration move at some point, and possibly other things that could have somehow upset the automatic update process. So, this isn't a bug report.) Not having a simple UI response to the act of hitting "update certs" (and instead being dumped into the log) is all I'm poking at.
I don't know how long my personal instance has been running (a month or two now), but it has been a joy. Thank you.