# Node setup possible without connection from agent to master

**URL:** <https://community.icinga.com/t/node-setup-possible-without-connection-from-agent-to-master/2863>\
**Category:** Icinga 2\
**Tags:** distributed\
**Created:** [November 25, 2019, 11:14am UTC](https://community.icinga.com/t/node-setup-possible-without-connection-from-agent-to-master/2863 "2019-11-25T11:14:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [November 25, 2019, 12:25pm UTC](https://community.icinga.com/t/node-setup-possible-without-connection-from-agent-to-master/2863/6 "2019-11-25T12:25:03Z")

</div>

If you omit the `--parent_host` parameter, the CLI command will not attempt to connect to the parent endpoint for sending the signing request. Instead, you are asked to put the public ca.crt manually into `/var/lib/icinga2/certs`. The same method exists within the `node wizard` CLI command.

Excerpt from the CLI command code:

```auto
        /* If no parent connection was made, the user must supply the ca.crt before restarting Icinga 2.*/
        if (!connectToParent) {
                Log(LogWarning, "cli")
                        << "No connection to the parent node was specified.\n\n"
                        << "Please copy the public CA certificate from your master/satellite\n"
                        << "into '" << ca << "' before starting Icinga 2.\n";
        } else {
                Log(LogInformation, "cli", "Make sure to restart Icinga 2.");
        }

```

The `--endpoint` parameter takes care of adding the Endpoint name and `host` attribute, this isn’t done via `--parent_host` parameter in this specific case.

---

_[View the full topic](https://community.icinga.com/t/node-setup-possible-without-connection-from-agent-to-master/2863)._
