Adding trusted Certificates for Proxy

Hello I am trying to set up a discourse instance for my company. We have private certs with packet inspection that causes man in the middle like behavior, so we need to add our certs to the trust store of a lot of products.

Is there a clean way to do this from within app.yml? I know there is a few hooks available like after_code for plugins, but I can’t find any documentation for a pre build hook that can be used.

I started to look into the docker file for base to add them in in the “base”, but that is quite working for yet and I would rather not fork the container if I don’t have too.

For context, the error I am getting is

fatal: unable to access ‘https://github.com/discourse/pups.git/’: server certificate verification failed. CAfile: none CRLfile: none
2c256c513e07ef9b896185003d27acd404d60ee571b5205b430ba06be4d895f0