79233703

Date: 2024-11-28 11:37:58
Score: 1
Natty:
Report link

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"
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Prasanna