wire-server-deploy
wire-server-deploy copied to clipboard
missing possibility to add CA certs to brig and galley pods
Hello, I want to add a bot to my platform. The bot is hosted behind an https URL with a certificate generated by an internal CA. I cannot add the bot in the conversation (PinInvalidCert error) After debugging, it's because brig and galley pods only accepts bot URLs with self-signed certs or certs generated by a trusted CA. I was able to install our internal CA cert on the pods like this: vi /usr/local/share/ca-certificates/internal_ca.crt paste the crt content update-ca-certificates But it's a bit complicated to do that on each pod recreation. Could you modify brig and galley charts so that we can specify somewhere one or multiple internal CA crt files? Maybe method3 from this URL: https://medium.com/@paraspatidar/add-self-signed-or-ca-root-certificate-in-kubernetes-pod-ca-root-certificate-store-cb7863cb3f87
Hi,
method 3 is a valid approach. But, If you can't wait for this to land (not on the roadmap yet), you might want to take a look into the Docker option. You can build the necessary images yourself.:
- create a new
Dockerfile
s, that uses the official ones from quay.io as base images - copy the certs into the right place
- publish those images to a registry that is accessible from the k8s cluster
- override the image refs in the wire-server helm values
Ok thanks, I'll look into that.