Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: run ztunnel in kind not works #934

Open
yanickxia opened this issue Apr 17, 2024 · 1 comment
Open

DOC: run ztunnel in kind not works #934

yanickxia opened this issue Apr 17, 2024 · 1 comment

Comments

@yanickxia
Copy link

from this mr #820 merge, seem debug in kind is break.

when start, logs as

2024-04-17T03:12:20.744145Z     warn    xds::client:xds{id=9}   XDS client connection error: gRPC connection error:status: Unknown, message: "client error (Connect)", source: invalid peer certificate: NotValidForName, retrying in 5.12s      

seem server_verifier will check DNS Subject_names, not include 'localhost'

verify_server_name(&cert, server_name)?;
Ok(ServerCertVerified::assertion())

Temporary solution

echo "127.0.0.1 istiod.istio-system.svc" >> /etc/hosts

when start add two env

CA_ADDRESS=https://istiod.istio-system.svc:15012
XDS_ADDRESS=https://istiod.istio-system.svc:15012

Maybe we should add some reminders to the document. seem not good way to support this case....

@howardjohn
Copy link
Member

ISTIOD_CUSTOM_HOST=localhost on istiod also works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants