Hi all, I have been trying to setup OpenZiti for a couple of weeks and tried on 3 servers and I get the same error every time I try to add a Edge Tunnel.
So this is my environment:
I have followed:
With 2 exceptions, I have setup a standard user called zitiadmin and run the installation steps as that user, the services are set to run as this user as well.
Before the installation I set local variables (PATH) for installation folder and set that to /opt/openziti and I also set the External_DNS to our public FQDN.
I also follow the guide to install the WebUI which is all working.
I have also followed the guides to get the Edge Tuennel Service installed on a Ubuntu server and opened the required firewall ports, I also dont see any blocks in the firewall logs.
So I use the WebUI to create a new Router which generates and JWT file. I copy the file to the Edge Tunnel server and restart the services and I get this error:
Apr 30 08:09:17 t1s-mms-tun01 ziti-edge-tunnel.sh[3879098]: (3879098)[ 0.000] INFO ziti-sdk:utils.c:200 ziti_log_set_level() set log level: root=3/INFO
Apr 30 08:09:17 t1s-mms-tun01 ziti-edge-tunnel.sh[3879098]: (3879098)[ 0.000] INFO ziti-sdk:utils.c:169 ziti_log_init() Ziti C SDK version 0.35.12 @5acfb13(HEAD) starting at (202>
Apr 30 08:09:17 t1s-mms-tun01 ziti-edge-tunnel.sh[3879098]: (3879098)[ 0.000] INFO ziti-sdk:ziti_enroll.c:88 ziti_enroll() Ziti C SDK version 0.35.12 @5acfb13(HEAD) starting enro>
Apr 30 08:09:18 t1s-mms-tun01 ziti-edge-tunnel.sh[3879098]: (3879098)[ 0.113] WARN ziti-sdk:ziti_ctrl.c:89 code_to_error() unmapped error code: MISSING_OR_INVALID_CSR
Apr 30 08:09:18 t1s-mms-tun01 ziti-edge-tunnel.sh[3879098]: (3879098)[ 0.113] ERROR ziti-sdk:ziti_enroll.c:233 enroll_cb() failed to enroll with controller: https://T1S-MGS-ZTG01:>
Apr 30 08:09:18 t1s-mms-tun01 ziti-edge-tunnel.sh[3879098]: (3879098)[ 0.113] ERROR ziti-edge-tunnel:ziti-edge-tunnel.c:2141 enroll_cb() enrollment failed: MISSING_OR_INVALID_CSR(>
Apr 30 08:09:18 t1s-mms-tun01 ziti-edge-tunnel.sh[3879094]: ERROR: failed to enroll MMS-Internal.jwt in /opt/openziti/etc/identities
Apr 30 08:09:18 t1s-mms-tun01 systemd[1]: ziti-edge-tunnel.service: Control process exited, code=exited, status=1/FAILURE
Can anyone help me with this error?
Many Thanks.