cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

https issue with untrusted certificate - unresolved

stirupachur
Explorer
0 Likes
2,125

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'

Accepted Solutions (1)

Accepted Solutions (1)

viktoru
Product and Topic Expert
Product and Topic Expert
stirupachur
Explorer
0 Likes

Thanks Viktor

Answers (0)

Ask a Question