Ziti-edge-tunnel fails on ubuntu with "configuration is invalid"

I've used the console to add an edge router, which provides a jwt, and creates a system-managed identity.

I'm trying to add that jwt using the ziti-edge-tunnel command on ubuntu, but I get this error in response. The ziti-edge-tunnel was installed via apt.

sudo ziti-edge-tunnel add --jwt ey....dj --identity oconor-edge-router
{
"Success":false,
"Error":"configuration is invalid",
"Code":-13
}

My intent is to provide access to a port on the host that ziti-edge-tunnel is installed on.

Hi @tempire, welcome to the community and to OpenZiti!

This will not work. The JWT created by creating an edge router is only usable by the edge router process ziti router.

You should create a "regular" (not edge router) identity for use with ziti-edge-tunnel.

1 Like