Test SSL connection