function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Qihao GuoQihao Guo 

unable to get local issuer certificate

User-added imageWhen I authorize an org and use customer url to login I got this error ad the localhost is 1717. Also I have already set up my proxy into my environment variable. So Anyone knows how to solve this error.
VinayVinay (Salesforce Developers) 
Hi Qihao,

Salesforce CLI use NodeJS to handle the authentication between client and Salesforce server,  When you use a proxy or your network not transparent the https will occur the error.

You can skip the error by set bellow variable in environment on your pc NODE_TLS_REJECT_UNAUTHORIZED = 0

Check below reference.
https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli_firewall.htm
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm

Please mark as Best Answer if above information was helpful.

Thanks,