Using torizon ide under WSL fails to clone project templates

Running on Windows PC
Using VSCODE
Connect to WSL from inside VSCODE
Install Torizon IDE into WSL
It fails to install the torizon templates:

fatal: unable to access ‘GitHub - torizon/vscode-torizon-templates: VS Code Torizon Integrated Development Environment Templates’: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

Disabling the SSL certificate verification is a temporary workaround but does not seem the correct solution:

GIT_SSL_NO_VERIFY=true git clone GitHub - torizon/vscode-torizon-templates: VS Code Torizon Integrated Development Environment Templates

Is there a better solution?

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


Hello! Thank you for your detailed description. You are correct that disabling SSL verification is not a recommended long-term solution, as it exposes you to potential security risks. Your issue indicates that the WSL environment doesn’t have an up-to-date set of CA certificates, which is required so git can securely verify SSL connections.

Here’s how you can properly resolve this issue in WSL:

1. Update CA Certificates in WSL

Open your WSL terminal and run the following commands to update/install the CA certificates package:

For Ubuntu/Debian-based WSL:

sudo apt update
sudo apt install --reinstall ca-certificates
sudo update-ca-certificates

For Fedora-based WSL:

sudo dnf reinstall ca-certificates
sudo update-ca-trust

This ensures that /etc/ssl/certs/ca-certificates.crt is present and up to date.

2. Retry the Operation

After updating the certificates, try installing the Torizon IDE extension and templates again as usual in VS Code.

3. Confirm Internet Access

Sometimes WSL instances run behind proxies or have limited network access. If you’re behind a proxy, make sure your git and shell environments know about it:

git config --global http.proxy http://yourproxy:port
git config --global https.proxy http://yourproxy:port

Replace yourproxy:port with your actual proxy settings, if needed.

If you continue to have trouble, you can inspect VS Code logs for more detailed error messages:

  • Open Command Palette: F1 → “Developer: Toggle Developer Tools” → Console tab.

For complete Torizon IDE setup steps, see:

Troubleshooting guide here:

Let me know if this resolves your issue or if you need further assistance!

Best regards,
Toradex AI Assistant.

Greetings @Gideon1,

It seems like for whatever reason your WSL environment does not have the SSL certificates installed properly.

I’m not sure what WSL distro you have installed, but I would try the suggestion from the ToradexAI. This should hopefully install and update the missing certificates in your WSL environment. Otherwise, you could try to re-install your WSL environment since these certificates really should be there by default I believe.

Best Regards,
Jeremias