Add a ca root to ca-certificates in WSL environment?

Jeffrey Walton noloader at gmail.com
Tue Dec 14 14:41:40 UTC 2021


On Tue, Dec 14, 2021 at 9:17 AM Michael Loftis <mloftis at wgops.com> wrote:
>
> No special magic for the WSL Ubuntu install.  You just apt-get install
> ca-certificates on the WSL Ubuntu environment command line, drop the
> pem certificate(s) in file(s) in /etc/ssl/certs, run
> update-ca-certificates (as root, use sudo) and you're done.   Just
> make sure the pem's are globally readable. The new certificate(s) will
> be included in /etc/ssl/certs/ca-certificates.crt and all system
> packages use that as their trusted root certs, pretty sure it'll also
> add the hash symlinks too.  That decade (and a bit) old IR is long,
> long, long closed.  This will NOT affect any Windows based stuff.

Ack, thanks.

> If you need to have it packaged then you'll have to do your own
> package, with a post-install hook.  You shouldn't be
> replacing/overriding the ca-certificates package.

Thanks.

Jeff



More information about the Ubuntu-devel-discuss mailing list