[Buildroot] Updating trust store using update-ca-certificates

Sourabh Hegde hrsourabh011 at gmail.com
Sat Feb 18 12:54:15 UTC 2023


Hello Thomas,

Thanks for the update.

I was thinking the ca-certificates package will take care of this. Maybe I
was wrong.

So, how should we add local CA to the trust store in the target?

On Sat, 18 Feb 2023 at 12:19, Thomas Petazzoni <thomas.petazzoni at bootlin.com>
wrote:

> On Fri, 17 Feb 2023 17:15:39 +0100
> Sourabh Hegde <hrsourabh011 at gmail.com> wrote:
>
> > I am trying to add a custom CA to the trust store. I have copied the CA
> > file to "/usr/local/share/ca-certificates/" in the rootfs_overlay and
> also
> > has a .crt extension. Now after executing "make" the CA is not added to
> the
> > trust store in /etc/ssl/certs/ in the target. Anyways it's installed only
> > in "/usr/local/share/ca-certificates/" in the target. I thought
> > "update-ca-certificates" will add this during image build.
> > Can anyone please let me know what is missing here?
>
> What makes you think update-ca-certificates is run during the build? I
> don't remember Buildroot having anything that does this.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20230218/38d24bdf/attachment-0001.html>


More information about the buildroot mailing list