Skip to content

Instantly share code, notes, and snippets.


Andrei Mahalean mahalel

  • Inde Technology
  • Christchurch, New Zealand
View GitHub Profile
mahalel / Windows_to_WSL_Certs.ps1
Last active Aug 4, 2021
Powershell script to export all Root CA certs from the Windows Cert store and into WSL certificate store
View Windows_to_WSL_Certs.ps1
This script will export certificates based on your input from the Windows Certificate store and add it to your WSL Distro certificate store.
1. You have an idea of the certificate issuer and name.
2. You have WSL installed.
# Read the cert name
$company = Read-Host 'Enter your certificate name'
try {

Keybase proof

I hereby claim:

  • I am mahalel on github.
  • I am mahalel ( on keybase.
  • I have a public key ASCz52FtNMxKliSq83enVx1wc2tvTpwo_VUQ5_5rwYOpBQo

To claim this, I am signing this object: