Skip to content

Invoke-IcingaCheckCertificate shows too much certificates #595

Open
@BT-Danny

Description

@BT-Danny

Expected Behavior

Service should show one Certificate

Current Behavior

Service shows the new AND the old Certificate despite the fact, the old one was deleted
Problem is, that the current and the old one shares the same name.
image

I did not find the old certificate in any Cert Store, so I can't figure out where the Agent can still find it.

Possible Solution

Is it maybe possible to exclude Certificates by their expiration date (maybe a feature request for future updates?)

Steps to Reproduce (for bugs)

Context

Since the old certificate seems to be found, the service will remain critical.
We don't want to filter the Certs by Fingerprints, because we have automations to renew the certs

Your Environment

Our Powershell Framework is on version 1.9 right now

  • Operating System and version (Get-IcingaWindowsInformation Win32_OperatingSystem | Select-Object Version, BuildNumber, Caption):
    image

Metadata

Metadata

Assignees

Labels

EnhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions