Created
March 5, 2021 13:56
-
-
Save richardsonlima/ff164c68f4b42c36248a592b45cf7464 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