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.
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-IcingaForWindowsdoesn't indicate that there's any problem with a certificate.BTW: executing
Start-IcingaWindowsScheduledTaskRenewCertificate;solved the certificate-issue.