ls -l /data/ca-certs/ca-bundle.pem
• If the file does not exist, download the CA bundle:
curl -o ca-bundle.pem https://curl.se/ca/cacert.pem
mkdir -p ~/ca-certs
mv ca-bundle.pem ~/ca-certs/
• Export the correct path:
export AWS_CA_BUNDLE="/data/ca-certs/ca-bundle.pem"
export NODE_EXTRA_CA_CERTS="$AWS_CA_BUNDLE"