Trellis installation problems on WSL

We use Radicle with Lando on our team. Several team members use WSL2 and several use OSX.

We weren’t able to set up a good Radicle+Trellis+WSL2 dev environment on the WSL2 machines, since we ran into the exact same problems as mentioned by you.

Lando works like a charm on both systems.

There’s only one annoying obstacle when running Lando on WSL2 and that’s trouble with the local SSL certificates.
I’d like to share the section from our developers’ guideline for Lando+WSL2:


HTTPS connection error on WSL2

On a WSL2 setup, you’ll very likely run into trouble with Lando’s local SSL certificate for the host lndo.site.

Open a PowerShell as an administrator and run the following command. Let’s say you run Ubuntu as your Linux distro and your username is pioneer. The command would look like this. Adjust accordingly for other distros and other users.

certutil -addstore -f "ROOT" \\wsl.localhost\Ubuntu\home\pioneer\.lando\certs\lndo.site.pem

After executing the command, you must restart your browser – otherwise you’ll still get the same error.

Read more about the local certificate authority (CA) in the Lando documentation.


I’d be happy if this makes your Lando/roots dev experience enjoyable :slight_smile:

4 Likes