# Client Certification issues

**URL:** <https://community.icinga.com/t/client-certification-issues/2045>\
**Category:** Icinga 2\
**Created:** [August 23, 2019, 10:49pm UTC](https://community.icinga.com/t/client-certification-issues/2045 "2019-08-23T22:49:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yungd](https://community.icinga.com/letter_avatar_proxy/v4/letter/y/ba9def/32.png) [@yungd](https://community.icinga.com/u/yungd)\
**Post date:** [August 23, 2019, 10:49pm UTC](https://community.icinga.com/t/client-certification-issues/2045/1 "2019-08-23T22:49:22Z")

</div>

When running the command (see below) from the client, I noticed that the master-ca.crt is different than the one that is on the master host. Is this expected behavior?

`icinga2 pki save-cert --key client.key --cert client.crt --trustedcert master-ca.crt --host master.host`

The reason I ask is because when running the `icinga2 node wizard` on a few Ubuntu 18.04 servers, I get the following message:

```
[2019-08-21 17:38:09 +0000] information/ApiListener: No data received on new API connection. Ensure that the remote endpoints are properly configured in a cluster setup.
[2019-08-21 17:38:12 +0000] warning/ApiListener: No data received on new API connection for identity 'client.host'. Ensure that the remote endpoints are properly configured in a cluster setup.
Context:
        (0) Handling new API client connection

```

Below are posts that are related to my issue and I’ve tried to follow all of the suggestions, but no success.

> <https://github.com/Icinga/icinga2/issues/6902>

  

> **[Client certificate validation failed](https://monitoring-portal.org/t/client-certificate-validation-failed/5732)**
>
> Hi! I add icinga clients via ansible playbook with pki and node commands. I use this a long time. But now i receive error with client certificate validation while node setup: information/ApiListener: New client connection for identity 'client.com'...

---

<div class="post-metadata">

**Author:** ![Al2Klimov](https://community.icinga.com/user_avatar/community.icinga.com/al2klimov/32/959_2.png) [@Al2Klimov](https://community.icinga.com/u/Al2Klimov)\
**Post date:** [August 26, 2019, 3:59pm UTC](https://community.icinga.com/t/client-certification-issues/2045/2 "2019-08-26T15:59:40Z")

</div>

Hello @yungd!

AFAIK `--trustedcert` specifies the node certificate, not the CA one.

Best,  
AK

---

<div class="post-metadata">

**Author:** ![dnsmichi](https://community.icinga.com/user_avatar/community.icinga.com/dnsmichi/32/7721_2.png) [@dnsmichi](https://community.icinga.com/u/dnsmichi)\
**Post date:** [August 27, 2019, 8:47am UTC](https://community.icinga.com/t/client-certification-issues/2045/3 "2019-08-27T08:47:42Z")

</div>

Correct. This is the one fetched with `save-cert` from the parent node. It proofs that you trust the parent. The reason for adding this step is to forbid “fire and forget” and make you think about it. The `node wizard` and likewise, the Windows agent wizard, ask you in an interactive way if you really trust the parent node. That’s the same as with passing `--trustedcert`.

Cheers,  
Michael
