Skip to content

Certificate Expiration does not display on custom ports #2854

@crouthamela

Description

@crouthamela

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

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

When monitoring an HTTPS URL, the Certificate Expiration countdown does not display if a custom port was specified in the URL. For example, monitoring https://myurl.com:4433 will not show the expiration date on the monitor page, but https://myurl.com will.

👟 Reproduction steps

  1. Create an HTTP(s) Monitor Type
  2. Enter a URL with a custom port at the end (https://myurl.com:4433)
  3. Check Certificate Expiry Notification

👀 Expected behavior

Certificate Expiration date would display on the monitor page.

😓 Actual Behavior

Certificate Expiration date does not display on the monitor page.

🐻 Uptime-Kuma Version

1.20.2

💻 Operating System and Arch

Debian 11

🌐 Browser

Google Chrome 110.0.5481.105

🐋 Docker Version

No response

🟩 NodeJS Version

No response

📝 Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions