on 2021 Aug 25 6:07 PM
Chrome browser says the certificate is untrusted. Postman runs without SSL and fetches data from API. However the nodejs app fails and there's no way out
FetchError: request to https://127.0.0.1:9002/us-admin/rest/v2/rodanandfields-us/products/AAWA125?fields=DEFAULT failed, reason: unable to verify the first certificate at ClientRequest.<anonymous> (/Users/stirupachur/ContentStackDiscovery/rodanplusfields-Aug12/node_modules/node-fetch/lib/index.js:1461:11) at ClientRequest.emit (events.js:375:28) at TLSSocket.socketErrorListener (_http_client.js:475:9) at TLSSocket.emit (events.js:375:28) at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:82:21) { type: 'system', errno: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE', code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.