I have a Certificate Authority file (.pem) that i'm bundling with my lambda and I have added the NODE_EXTRA_CA_CERTS to my environment variables with the path to the cert file. Unfortunately, when i make my requests back to my on-prem server, node is giving the following error:
UNABLE_TO_GET_ISSUER_CERT_LOCALLY
serverless.yml
provider:
name: aws
region: us-east-2
runtime: nodejs12.x
endpointType: regional
stage: dev
environment:
S3_ARTIFACTS: sast-artifacts
NODE_EXTRA_CA_CERTS: /var/task/.certs/My-Root-CA.pem
⚠️⚠️ REPLACE WITH FULL COMMAND NAME output
UNABLE_TO_GET_ISSUER_CERT_LOCALLY
Installed version
I have a Certificate Authority file (.pem) that i'm bundling with my lambda and I have added the
NODE_EXTRA_CA_CERTSto my environment variables with the path to the cert file. Unfortunately, when i make my requests back to my on-prem server, node is giving the following error:serverless.yml⚠️⚠️ REPLACE WITH FULL COMMAND NAMEoutputInstalled version