aws-sam-cli icon indicating copy to clipboard operation
aws-sam-cli copied to clipboard

Support to add SSL Certs to Container so network calls work

Open DevOpsChris opened this issue 7 years ago • 4 comments

I wish sam-cli would add the ability to add SSL certificates that are created for use within a proxy network. This would enable downloading layers, etc. without tweaking the python code base to verify = False requests calls.

Proposal

  1. Add a volume argument to mount the cert directory in the container to the cert. -or-
  2. Allow post copy of files into the container from aws-sam-cli as a flag.

DevOpsChris avatar Jan 07 '19 15:01 DevOpsChris

https://github.com/DevOpsChris/aws-sam-cli/tree/fix_proxy_issues here's a fix in progress.

DevOpsChris avatar Jan 16 '19 21:01 DevOpsChris

Made a mistake. I've fixed the layer downloader from behind the proxy with ssl cert. Here's the fix. #1143

DevOpsChris avatar Apr 23 '19 12:04 DevOpsChris

Was released with v0.16.0

Closing

jfuss avatar May 24 '19 00:05 jfuss

This doesn't seem to be picking up the AWS_CA_BUNDLE environment variable

ryanpodonnell1 avatar Mar 10 '20 19:03 ryanpodonnell1