In my home lab I have a Gitea server “on prem” (not accessibile from the Internet), using a TLS certificate issued by my home lab custom CA. I have this CA loaded into TrueNAS - the TrueNAS certificate itself is issued by this CA.
When I try to deploy the Gitea action runner app, it doesn’t register with the Gitea server because the TLS authentication fails because ot the missing CA (that’s what I found in the container logs).
Is there a way to install my CA into the container app without creating a separate image, or pushing the certificate after the container is running?
I had the same query. There isn’t a particularly “nice”, integrated way to achieve this, but it’s not hard.
Assuming that you have your CA certificate stored at /mnt/tank/private-ca.crt, first determine its hash, which you’ll use to augment the trust store in your gitea-act-runner app: