public withCaPath(value as Object) as TlsOptions throws ProtocolException:
Returns a copy with a custom CA certificate directory.