Skip to content

Test-IcingaForWindows doesn't indicate the error "Certificate validation failed for IfW API on host 'localhost' [...] hostname mismatch" #869

Description

@tectumopticum

After changing the hostname and creating a new certificate for the icinga2-agent, the icingaweb2-output of local plugins show
"Certificate validation failed for IfW API on host 'localhost' (SNI: 'hugo.my.domain'; CN: 'hugo') port '5668': code 62: hostname mismatch"
Running Test-IcingaForWindows doesn't indicate that there's any problem with a certificate.

BTW: executing Start-IcingaWindowsScheduledTaskRenewCertificate; solved the certificate-issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions