Skip to content

How to import all Root CAs from Windows store into WSL automatically? #3161

@rfgamaral

Description

@rfgamaral

I have this self-signed corporate root CA installed on my Windows machine for all internal company services which is not being automatically propagated to WSL.

As a workaround I had to place the crt file under /usr/local/share/ca-certificates/*.crt and invoke sudo update-ca-certificates (this for a Debian WSL installation). The certificate will then be installed to /etc/ssl/certs/* and will also be available in the /etc/ssl/certs/ca-certificates.crt bundle.

Is it possible to configure WSL to do this automatically?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions