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

Status page https certificate expiration #5313

Open
2 tasks done
plegrand1 opened this issue Nov 5, 2024 · 4 comments
Open
2 tasks done

Status page https certificate expiration #5313

plegrand1 opened this issue Nov 5, 2024 · 4 comments
Labels

Comments

@plegrand1
Copy link

⚠️ Please verify that this question has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

Hello,
I'm having a small problem checking the expiry of an https certificate.
This one has a particularity in that it is self-signed.
On Kuma's main page, it appears with the number of days remaining.
image
However, on the status page, the number of days remaining does not appear.
image
Is this a bug or a misconfiguration on my part?
Thank you for your help.
Best regards,

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1.23.15

💻 Operating System and Arch

Debian

🌐 Browser

Firefox

🖥️ Deployment Environment

  • Runtime:
  • Database: sqlite
  • Filesystem used to store the database on:
  • number of monitors:
@plegrand1 plegrand1 added the help label Nov 5, 2024
@apio-sys
Copy link
Contributor

apio-sys commented Nov 5, 2024

For the expiration date to appear on the status page, you need to switch "Show Certificate Expiry" to on on the bottom left when editing the status page.
Screenshot from 2024-11-05 16-45-16

@plegrand1
Copy link
Author

That's what I did.
The expiration date for non-self-signed certificates appears correctly with the number of days remaining.
But for self-signed certificates this information doesn't appear.

@apio-sys
Copy link
Contributor

apio-sys commented Nov 5, 2024

It works for me but the expiry notice shows below the monitor with the wording "Expiration Cert SSL: nn jours" if running in French. Yours shows "Certificats HTTPS". Looks like we are not running the same version? (I have 1.23.15 also). But haven't tested with self-signed. Let me try that in a bit.

@apio-sys
Copy link
Contributor

apio-sys commented Nov 5, 2024

Indeed, I could reproduce, with a self-signed cert the remaining days do not show anymore in the Status Page. We should either fix it or document that such certs will not show on status pages (since this is more a "customer facing" feature we might not want to show self-signed certs here?). Could find a why in the documentation. I guess this comes from here /src/components/PublicGroupList.vue but I haven't a dev environment running right now to test further.

@plegrand1 plegrand1 changed the title Startus page https certificate expiration Status page https certificate expiration Nov 7, 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

2 participants