Whenever I try to make Rest API calls in Typescript, I encounter the following error: error code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY' message: 'unable to get local issuer certificate'
Our API Calls were functioning properly up until vscode version 1.81.1
After upgrading to vscode 1.82.2, I found that setting NODE_TLS_REJECT_UNAUTHORIZED=0 in the command prompt allows the API calls to work, but this bypasses the SSL certificate verification process, which is not ideal. What steps should be taken to resolve the UNABLE_TO_GET_ISSUER_CERT_LOCALLY error with vscode version 1.82.2?
- VS Code Version: 1.82.2
- OS Version: Windows 11 Enterprise