[fix] Only detect HTTPS if we actually have `cert` and `keys` not if they are defined.
[fix] Also allow plain string `ca` files for one single `ca`.