Hi @waqas, welcome to the community and to OpenZiti!
I just ran the instructions and didn't end up with the same problem. Is it possible you ran this multiple times and didn't down -v between runs and just have the wrong password initialized? That's my guess.
Thanks @TheLumberjack for getting back...Yeah i just made it through...Looks like my password had "==" which it didnt like. I changed the password and it worked somehow...
Thanks a ton.
@TheLumberjack
I am now looking at setting up router...by following the docs and same youtube video...
However, in my case i have a different machine for router. I am planning to run it on port 443.
I have generated the token in controller and bootstrapping the router using docker-compose.
The router container keeps dying and the logs are showing.
I have both the router and controller behind reverse proxy that is public facing. So router connecting to controller first goes to reverse proxy and then is sent over to controller.
I am using nginx-proxy for this setup.
Thanks @TheLumberjack
Guess I have to change my model then.
I saw a video with HAPROXY that supports pass through. Will check that solution.
Thanks again for the insight.
This error occurred because the router encountered an unexpected server certificate presented by HAProxy when it attempted to enroll. It was expecting to encounter the controller's edge client API certificate directly, not through a TLS proxy.
You may publish Ziti's TLS ports with any reverse proxy/LB that is configured to pass-through TLS. For example, HAProxy may route the request based upon the server name indication in the ClientHello, provided that it also forwards the ClientHello to Ziti to allows mutual certificate authentication (mutual TLS [mTLS]) to occur.