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

missing possibility to add CA certs to brig and galley pods #250

Open
orandev opened this issue May 4, 2020 · 2 comments
Open

missing possibility to add CA certs to brig and galley pods #250

orandev opened this issue May 4, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@orandev
Copy link
Contributor

orandev commented May 4, 2020

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

@lucendio
Copy link
Contributor

lucendio commented May 4, 2020

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.:

  1. create a new Dockerfiles, that uses the official ones from quay.io as base images
  2. copy the certs into the right place
  3. publish those images to a registry that is accessible from the k8s cluster
  4. override the image refs in the wire-server helm values

@orandev
Copy link
Contributor Author

orandev commented May 4, 2020

Ok thanks, I'll look into that.

@lucendio lucendio added the enhancement New feature or request label May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants