adobe / commerce-integration-starter-kit

Adobe's integration starter kit uses Adobe Developer App Builder to improve real-time connection reliability and reduce the time-to-market for integrations between Adobe Commerce and other back-office systems, such as ERPs, CRMs, and PIMs.
Apache License 2.0
9 stars 2 forks source link

`npm run onboard` is failing for a local commerce installation with a self-signed certificate #25

Open vasylmalanka opened 2 days ago

vasylmalanka commented 2 days ago

Expected Behaviour

The process of configuring Adobe I/O Events module in Commerce successfully finishes.

Actual Behaviour

The configuration process of the Adobe I/O Events module failed with error: Unable to complete the process of commerce configuration: self-signed certificate

Reproduce Scenario (including but not limited to)

Install Adobe Commerce on a local machine with a self-signed certificate and go through the steps from https://developer.adobe.com/commerce/extensibility/starter-kit/create-integration/ until npm run onboard

Steps to Reproduce

Run npm run onboard

Platform and Version

1.0.2

rojoangel commented 1 day ago

Hi @vasylmalanka, thanks for raising this issue.

Could you try setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to 0 before running npm run onboard?

This environment variable is a global setting for Node.js that disables SSL certificate validation, and it will apply to all HTTPS requests made by the got library.

⚠️ Be careful not to propagate this setting to production 😉