Skip to content

Instantly share code, notes, and snippets.

@finnigja
Last active October 31, 2017 16:28
Show Gist options
  • Save finnigja/e8482ce58c32572a9d3ace2fdc4d2f49 to your computer and use it in GitHub Desktop.
Save finnigja/e8482ce58c32572a9d3ace2fdc4d2f49 to your computer and use it in GitHub Desktop.
#!/bin/sh
# https://aws.amazon.com/blogs/security/how-to-prepare-for-aws-move-to-its-own-certificate-authority/
declare -a arr=("https://good.sca1a.amazontrust.com/" "https://good.sca2a.amazontrust.com/" "https://good.sca3a.amazontrust.com/" "https://good.sca4a.amazontrust.com/" "https://good.sca0a.amazontrust.com/" "https://starfieldtech.com/" "https://aws.amazon.com")
for i in "${arr[@]}"
do
printf $i
curl -s -o /dev/null -w "\t%{http_code}\n" $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment