Adding a check for empty SSL certs