Forked from richardsonlima/aws-ca-bundle-generator.sh
Created
April 21, 2022 15:21
-
-
Save actionjack/5d3e799a28d327a2d11a27bc388e108b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWS_ROOT_CA_FILE=$HOME/aws.root.ca.bundle.pem | |
cp /dev/null $AWS_ROOT_CA_FILE | |
for ca in \ | |
https://www.amazontrust.com/repository/AmazonRootCA1.pem \ | |
https://www.amazontrust.com/repository/AmazonRootCA2.pem \ | |
https://www.amazontrust.com/repository/AmazonRootCA3.pem \ | |
https://www.amazontrust.com/repository/AmazonRootCA4.pem \ | |
https://www.symantec.com/content/en/us/enterprise/verisign/roots/VeriSign-Class%203-Public-Primary-Certification-Authority-G5.pem; do | |
echo "getting CA: $ca" | |
wget -O - $ca >> $AWS_ROOT_CA_FILE | |
done | |
echo -n '\033[1;34m ==> Stored CA certificates in \n\033[0m' $AWS_ROOT_CA_FILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment