Raise an exception when tls_ca_cert is provided and tls_verify is false