Symptom
The SMTP server access fails from a Node.js application with this error:
[APP/PROC/WEB/4] STDERR [cds] - ❗️Uncaught Error: unable to get local issuer certificate
[APP/PROC/WEB/4] STDERR at TLSSocket.onConnectSecure (node:_tls_wrap:1550:34)
[APP/PROC/WEB/4] STDERR at TLSSocket.emit (node:events:514:28)
[APP/PROC/WEB/4] STDERR at TLSSocket._finishInit (node:_tls_wrap:967:8)
[APP/PROC/WEB/4] STDERR at ssl.onhandshakedone (node:_tls_wrap:743:12)
[APP/PROC/WEB/4] STDERR at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
[APP/PROC/WEB/4] STDERR code: 'ESOCKET',
[APP/PROC/WEB/4] STDERR command: 'CONN'
[APP/PROC/WEB/4] STDERR }
Read more...
Environment
SAP BTP CF
Product
Keywords
KBA , XX-S4C-SDK-JS , SAP Cloud SDK for JavaScript , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview