Trusting the Lando CA (SSL) on Windows with WSL2

Submitted by phannphong on 5 January, 2024

Open the Powershell as Administrator and run this command:

certutil -addstore -f "ROOT" \\wsl.localhost\LINUX_DISTRIBUTION\home\WSL-USER-NAME\.lando\certs\lndo.site.pem

with:

  • LINUX_DISTRIBUTION: your linux distribution, maybe Ubuntu, Ubuntu-20.04, etc.
  • WSL-USER-NAME: your WSL username which is you set when installing WSL.

Comments

Open the Powershell as Administrator and run this command:

certutil -addstore -f "ROOT" \\wsl.localhost\LINUX_DISTRIBUTION\home\WSL-USER-NAME\.lando\certs\lndo.site.pem

with:

  • LINUX_DISTRIBUTION: your linux distribution, maybe Ubuntu, Ubuntu-20.04, etc.
  • WSL-USER-NAME: your WSL username which is you set when installing WSL.

Comments