A TLS handshake timeout is reached when running a simple App Get requests via Qlik-CLI. The same request via Invoke-WebRequest completes quickly and successfully.
Qlik-CLI doesn't pick up the Internet Proxy defined in Internet Options at the OS level, while PowerShell does.
To resolve this, set the https_proxy environment variable via PowerShell or at the OS level permanently to guarantee Qlik-CLI can connect to their tenant via the permitted path in their network setup.
Example:
Set the environment variable at beginning of the script: