Skip to content

Commit babd69b

Browse files
authored
Merge pull request #34 from mcdonnnj/improvement/set_aws_ca_bundle
Configure the `AWS_CA_BUNDLE` environment variable
2 parents aecef45 + 3d326c6 commit babd69b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

monitor/setup.sh

+4
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ if [ "$RUNNER_OS" = "macOS" ]; then
6363
echo "REQUESTS_CA_BUNDLE=/Users/mitmproxyuser/.mitmproxy/mitmproxy-ca-cert.pem" >> $GITHUB_ENV
6464
# set environment variable for the Elixir Hex package manager to use the certificate
6565
echo "HEX_CACERTS_PATH=/Users/mitmproxyuser/.mitmproxy/mitmproxy-ca-cert.pem" >> $GITHUB_ENV
66+
# set environment variable for AWS tools
67+
echo "AWS_CA_BUNDLE=/Users/mitmproxyuser/.mitmproxy/mitmproxy-ca-cert.pem" >> $GITHUB_ENV
6668

6769
# Enable IP forwarding.
6870
sudo sysctl -w net.inet.ip.forwarding=1
@@ -175,6 +177,8 @@ elif [ "$RUNNER_OS" = "Linux" ]; then
175177
echo "REQUESTS_CA_BUNDLE=/home/mitmproxyuser/.mitmproxy/mitmproxy-ca-cert.pem" >> $GITHUB_ENV
176178
# set environment variable for the Elixir Hex package manager to use the certificate
177179
echo "HEX_CACERTS_PATH=/home/mitmproxyuser/.mitmproxy/mitmproxy-ca-cert.pem" >> $GITHUB_ENV
180+
# set environment variable for AWS tools
181+
echo "AWS_CA_BUNDLE=/home/mitmproxyuser/.mitmproxy/mitmproxy-ca-cert.pem" >> $GITHUB_ENV
178182

179183
# setup global redirection
180184
sudo sysctl -w net.ipv4.ip_forward=1

0 commit comments

Comments
 (0)