2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
For anybody having this same issue, openssl wasn't present in the Node.js container. We switched to Python, which had openssl.
답변함 4년 전
0
Hello,
Yes, I have tested OpenSSL 1.0.2k, in nodejs12.x lambda runtime with custom layer codebase, it's working fine.
Here, the link I follow, to add a custom layer to lambda.
Reference Links:
1. https://stackoverflow.com/questions/58548580/npm-package-pem-doesnt-seem-to-work-in-aws-lambda-nodejs-10-x-results-in-ope/58965884#58965884
2. https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
3. https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html?icmpid=docs_lambda_rss
4. Sample Code: https://docs.aws.amazon.com/lambda/latest/dg/lambda-nodejs.html
If you want to upgrade the OpenSSL version anyhow, then you should refer: https://stackoverflow.com/questions/36468984/aws-lambda-python-libssl-c-library - I have also tested his, it's works well.
답변함 4년 전
관련 콘텐츠
- AWS 공식업데이트됨 일 년 전