I am currently trying to connect a windows client to a Centos8 icinga master running on a VM.
The setup, however, fails to fetch the certificate from my master.
Running the Icinga windows agent setup wizard prompts me with the following error:
> critical/pki: Cannot connect to host ‘localhost.localdomain’ on port '5665’
> critical/cli: Failed to fetch certificate from host.
I was following a guide (https://icinga.com/docs/icinga2/latest/doc/07-agent-based-monitoring/) but stumbled on a problem when trying to run the following command:
"ssh-copy-id -i $HOME/.ssh/id_rsa firstname.lastname@example.org"
This gives a respond: "NoLogin Invalid option – 'c’
Does anyone know what i should do to resolve these problems and make the client able to connect to the master?