Difference between -ips
and -subnets
in certificate creation and signing
#956
-
According to the help text for the
Likewise, according to the help text for the
I'm confused about the difference between the options in these pairs and what each one does:
I'm also wondering if I need to sign all device certificates with the root CA or if I can create different intermediate CAs to sign, for example, different subnets. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @ZelnickB - In a host certificate, In a host certificate, For the CA,
AFAIK, it is not possible to have two Nebula IP addresses on the same network.
Nebula has no concept of intermediate certs. You can create multiple root CAs and add each of them in a host's CA bundle ( |
Beta Was this translation helpful? Give feedback.
-
Thanks for the explanation! Could you perhaps clarify this in the command help text? I think that it would be helpful. |
Beta Was this translation helpful? Give feedback.
Hi @ZelnickB -
In a host certificate,
-ip
is the node's IP and the CIDR within which it resides. For example,192.168.100.1/24
will have IP 192.168.100.1 and can talk to the 192.168.100.0/24 subnet. You always need to pass this when creating a host certificate.In a host certificate,
-subnets
allows a host to act as a router for theunsafe_routes
feature. It can only route traffic to subnets defined in its certificate. You only need to pass this if you plan on routing traffic through a host to computers which cannot run Nebula. (For example, printers. This is different than relays which routes traffic between two Nebula nodes when direct connectivity cannot be achieved and doesn't require…