Hi.
Trying to create ziti cluster hosted on debian12. All ziti-packets are installed in official way using ubuntu jammy repo.
When not in cluster everything works just fine, routers are routing, tunnelers are tunneling and such.
But when i try add another controller to cluster, command (run on new empty controller with certificates generated from root CA of main controller)
ziti agent cluster add tls:other.peer.mydomain:1280
returns error:
Error: cluster add failed: error dialing peer tls:other.peer.mydomain:1280: remote error: tls: error decrypting message
And logs on main controller shows
ZitiController ziti[51723]: [39800.169] DEBUG transport/v2/tls.(*sharedListener).getConfig [tls:0.0.0.0:1280]: {client=[new_node_IP:44006]} client requesting protocols = [ziti-ctrl]
ZitiController ziti[51723]: [39800.169] DEBUG transport/v2/tls.(*sharedListener).getConfig [tls:0.0.0.0:1280]: {client=[new_node_IP:44006]} found handler for proto[ ]
ZitiController ziti[51723]: [39800.194] ERROR transport/v2/tls.(*sharedListener).processConn [tls:0.0.0.0:1280]: {error=[tls: invalid signature by the client certificate: crypto/rsa: verification error] remote=[new_node_IP:44006]} handshake failed
Certificates are created as follows (like in Controller Certificates | OpenZiti manual):
- Root CA is created
- Intermediate cert is issued by root
- Server and client certs are issued by intermediate
Steps 2 and 3 are repeated for each cluster node.
Would be grateful for pointing out where to look for the cause of the problem.