Skip to content

Instantly share code, notes, and snippets.

@finnigja
Last active October 31, 2017 16:27
Show Gist options
  • Save finnigja/bd1ed0e2972a4deb8d02dde2749464ab to your computer and use it in GitHub Desktop.
Save finnigja/bd1ed0e2972a4deb8d02dde2749464ab to your computer and use it in GitHub Desktop.
#!/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