Tunneling (-TUNNELING)

Use the Tunneling adapter command (-TUNNELING) to establish a clean TCP connection to the proxy server and then upgrade to SSL using the CONNECT method. This command should only be used in cases where the specified proxy URL is non-secure (http) and the request URL is secure (https).

-TUNNELING

For example, if you specify:

-url <https://secure-server:8080/example> -proxy 
<http://user@proxy-server:2888> -tunneling

This command specifies:

  • the entry to search for the HTTPS server called secure-server on port 8080 and request the /example page
  • the proxy server called proxy-server with a plain (non-secure) HTTP connection
  • that the tunneling mechanism should be used to upgrade the non-secure proxy connection to a secure one for accessing the given URL