Add SSL support
Use insecure flag for certificate
Fail early if certificate files are missing