Last active
October 31, 2017 16:27
-
-
Save finnigja/bd1ed0e2972a4deb8d02dde2749464ab to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env python | |
# https://aws.amazon.com/blogs/security/how-to-prepare-for-aws-move-to-its-own-certificate-authority/ | |
import requests | |
URLS = [ | |
'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 u in URLS: | |
try: | |
req = requests.get(u) | |
res = req.status_code | |
except requests.exceptions.SSLError as e: | |
res = e | |
print('{0:40} {1}'.format(u, res)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment