# Icinga2 client and director connection issue

**URL:** <https://community.icinga.com/t/icinga2-client-and-director-connection-issue/8074>\
**Category:** Icinga Web\
**Tags:** icingaweb2, windows-agent, api, director, icinga2\
**Created:** [August 26, 2021, 9:26am UTC](https://community.icinga.com/t/icinga2-client-and-director-connection-issue/8074 "2021-08-26T09:26:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mh241085](https://community.icinga.com/letter_avatar_proxy/v4/letter/m/5fc32e/32.png) [@mh241085](https://community.icinga.com/u/mh241085)\
**Post date:** [August 26, 2021, 9:26am UTC](https://community.icinga.com/t/icinga2-client-and-director-connection-issue/8074/1 "2021-08-26T09:26:55Z")

</div>

Hello,

I have just installed a new Icingaweb2 with a Self-Signed Certificate with the director, everything seems work well. I have also already integrated Linux clients via nrpe as in previous versions.

_Our Windows clients I would like to connect with the Icinga agent, but have the following problem with the setup issue (Setup via Framework with the Kickstart Script):_

```auto
PS C:\Users\Administrator> Use-Icinga;
PS C:\Users\Administrator> Start-IcingaAgentInstallWizard `
>> -DirectorUrl 'https://IP or FQDN/icingaweb2/director/' `
>> -SelfServiceAPIKey 'e53db0aff5d1sdfgsdfgsdgsdfgsdfgb6ed8904' `
>> -UseDirectorSelfService 1 `
>> -OverrideDirectorVars 0 `
>> -Reconfigure `
>> -RunInstaller
[Error]: The remote host for address "https://IP or FQDN/icingaweb2/director/self-service/powershell-parameters?key=e53db0aff5d1sdfgsdfgsdgsdfgsdfgb6ed8904" could not be resolved
[Error]: Failed to connect to your Icinga Director at "https://IP or FQDN/icingaweb2/director/". Please try again
Please re-enter your SelfService API Key for the Host-Template in case the key is no longer assigned to your host (Defaults: "e53db0aff5d1sdfgsdfgsdgsdfgsdfgb6ed8904"):

```

_The Host-Template has been self created in the director incl. API-KEY:_

generic-hosts

 ![grafik](https://community.icinga.com/uploads/default/original/2X/6/60da69acded931484d838e31ed3e7a478e7af554.png)

 ![dfwerat3rt634q5](https://community.icinga.com/uploads/default/original/2X/c/cde34b3eb0dd692740cb047eb2923ef12bec1339.png)

**Icinga-Server (Self-Signed Certificate):**  
Icinga Web 2 Version 2.9.3  
icinga2 - The Icinga 2 network monitoring daemon (version: r2.13.1-1)  
PHP Version 7.4.21  
OS Debian GNU/Linux 11 (bullseye)  
director (current master)

Enabled features:

- api
- checker
- command
- ido-mysql
- influxdb
- livestatus
- mainlog
- notification
- perfdata
- statusdata
- syslog
