SalesforceCommerceCloud / sfcc-ci

Salesforce Commerce Cloud CLI
https://npmjs.com/package/sfcc-ci
BSD 3-Clause "New" or "Revised" License
231 stars 93 forks source link

sfcc-ci local issuer certificate issue. #299

Open shivaOfficial98 opened 2 years ago

shivaOfficial98 commented 2 years ago

Hi,

I've imported .p12 certificate to personal & trusted root certification authorities folder and mentioned client Id & secret, username, password in dw.json.

When try to authenticate using command sfcc-ci client:auth . I'm facing the local issuer certificate issue as below attached image.

image

Please, mention any additional configurations need to be done.

Thanks!

tobiaslohr commented 2 years ago

HI @shivaOfficial98, can you try setting the env var NODE_EXTRA_CA_CERTS and pointing to your trusted CA cert as described at: https://nodejs.org/api/cli.html#node_extra_ca_certsfile?

tobiaslohr commented 2 years ago

Hi @shivaOfficial98, were you able to resolve the issue as described through the above comment? Please let us know and we can close this. Thanks!