SSL Certificate Validation

-checks if the certificate is expired or not
-warning can occur based on user settings
any suggestions other than hard coding the path?