If you want to check the SSL certificate validation (expiry time, hostname match, self signed etc) using curl, you can do it by running
[code]curl -cacert URL_ADDRESS [/code]
Example : If you want to check the SSL certificate of GoDaddy
[code]curl -cacert https://www.godaddy.com [/code]