Add local certificates in Alpine container?

@francislavoie Thank you for the answer.
I already tried that and other things before asking here, without luck.
I think i needed a clear explanation of what exactly I should add to the ca-certificate.crt.

But nevermind, I used caddy trust --address in the container and all is working now.