Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh interface httpstunnel add interface ?
Usage: add interface [type=](server|client)
[url=][[state=](enabled|disabled|default)][[authmode=](none|certificates)]
Parameters:
Tag Value
type - One of the following values:
client
OR
server (option valid only on Windows Server machines)
url - Url on which the server interface listens for HTTP(S) requests
OR
Url to which the client interface sends HTTP(S) requests
state - One of the following values:
default: Server interface - always configured.
Client interface - configured on demand based on
other connectivity options available.(Client
interfaces are created with this setting by default
enabled: always configured(Server interfaces are created
with this setting by default
disabled: interface will be disabled.
authmode - One of the following values:
none: No client authentication will be performed during the
SSL handshake (This is the default setting).
certificates: Client certificates will be used to
authenticate clients
(This option applies only to a server interface and is
valid only on Windows Server machines)
Remarks: Adds an IPHTTPS interface
Examples:
add interface server https://*:443/IPHTTPS enabled certificates
add interface client https://myserver/IPHTTPS default
The first command adds an IPHTTPS server interface and configures it to
listen on the specified URL and to use client certificates for client
authentication.(Port numbers are required in the url specified for the
server). The interface is always created at the boot time.
The second command adds an IPHTTPS client interface and configures
the specified URL to establish a HTTP(S) session with the IPHTTPS server.
It is configured to be activated when no other connectivity options are
available.