This is typically caused by a network filter that basically breaks TLS/SSL certificates. One of the techniques in this post may allow you to get around this:
I’m getting the same issue when I try to create a new project with the VS Code Particle extension. I tried to read the document above but get a “Page Not Found” error. Please advise.
For vscode (Workbench), try this technique but try the last answer about changing the proxy settings in the UI first. The last one is probably the correct thing to do; the earlier ones may work but are a security issue.