Sorry about that; that functionality has never been added since it relied on that big SSL refactor in Trellis which I never felt comfortable changing a while ago and now it’s quite stale.
I ran into this same issueand here’s the simple workflow that ended up working for me. Since Lima doesn’t have automated SSL handling yet, this is a clean manual approach that stays compatible with Trellis defaults…
1. Enter the Lima VM from your Trellis project directory
Run this inside your Trellis project (the directory containing the trellis folder):
trellis vm shell
2. Copy the generated certificate somewhere readable (I used /tmp)
sudo cp /etc/nginx/ssl/example.com.cert /tmp/
3. Exit the VM
exit
4. Copy the certificate from the VM to your host machine
Note: you will need the VM’s name.. If you don’t remember your Lima VM name, you can list all VMs:
(Copying from /tmp avoids the permission issues you’d hit when pulling directly from /etc/nginx/ssl.)
5. Move the certificate somewhere that makes sense to you
For me, it made sense to keep development certs together in a folder inside my ~/.ssh directory:
After this, your local https://example.com (or whatever local domain you’re using) should load in the browser without warnings.
This approach kept things simple and avoided modifying permissions inside /etc/nginx/ssl. Hopefully this helps others running Trellis with Lima until official SSL handling is added.