Hacker News new | ask | show | jobs
by celere 5080 days ago
Python: Just check the certificates with Python Requests (or take one of 20 lines urllib solutions):

>>> requests.get('https://exmaple.com, verify=True) requests.exceptions.SSLError: hostname 'exmaple.com' doesn't match either of '*.exmaple.org', 'exmaple.org'