Icinga / icingaweb2-module-x509

Keeps track of certificates as they are deployed in a network environment.
https://icinga.com/docs/x509/latest/
GNU General Public License v2.0
105 stars 23 forks source link

Report expired status in CLI but not module interface #211

Closed tete2soja closed 8 months ago

tete2soja commented 8 months ago

Describe the bug

Certificates show has expired on icingacli/icingaweb but not on module interface

To Reproduce

I think it was working fine before general Debian update. But now, Even if the certification is showing correct information en Web interface (Certificate chain is valid. / in 89 days), the cli and icingaweb (since it uses the cli), shows error:

# icingacli x509 check host --host 'domain.tld'
CRITICAL - *.domain.tld has expired since 743 days|'*.domain.tld'=0s;16070400:;6393600:;0;-64215390

Maybe related with wildcard certificates but it was working fine before.

Expected behavior

Show current status and not trigger warning/error status.

Your Environment

Include as many relevant details about the environment you experienced the problem in

tete2soja commented 8 months ago

Delete the database and import back the DDL and run the job seems to fix the issue.

sdaru commented 5 months ago

i have same issue

Can someone help me ?

nilmerg commented 5 months ago

Have you tried what has been suggested previously?

sdaru commented 5 months ago

Yes i just do it: Drop Database. Recreate. Import CA. But still that error.

Kind Regards.