openziti/sdk-golang

Token exchange in Go SDK not working

plorenz opened this issue · 0 comments

We see this error on the client side:

[1830.940]    INFO sdk-golang/ziti.(*ContextImpl).RefreshApiSessionWithBackoff.func1: {error=[Get "https://127.0.0.1:1280/edge/client/v1/.well-known/openid-configuration": tls: failed to verify certificate: x509: certificate signed by unknown authority]} unable to refresh apiSession, will retry

and this error on the server side:

[16307.532]   ERROR transport/v2/tls.(*sharedListener).processConn [tls:127.0.0.1:1280]: {remote=[127.0.0.1:58640] error=[remote error: tls: bad certificate]} handshake failed