I'm using the golang client to connect with the Kite Trade Websocket to get the tick data.
It works well when I'm running it on my machine. But I wanted to move it to the Kubernetes cluster and run this code as a container (inside a POD). But I'm stuck with this error
"Error in Kite Trade API: x509: certificate signed by unknown authority"
Has anyone faced similar behavior or know how to resolve it ?
ca-certificates
in your container image.If you are using Alpine, you can do something like this in your Dockerfile:
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*