Check SSL certificate to see if it is trusted by the client