Match a hostname against a dNSName reference
Requests_SSL::verify_reference_name
Verify that a reference name is valid
Requests_SSL::verify_certificate
Verify the certificate against common name and subject alternative names
Requests_SSL
SSL utilities for Requests