SSL Certificate Validation

-checks if the certificate is expired or not
-warning can occur based on user settings
You can use urlparse instead.