<Sites> <Site name="Site1" physicalDirectory="..\..\..\Publish\Site1"> <Bindings> <Binding name="Endpoint1" endpointName="Endpoint1" /> </Bindings> </Site> <Site name="Site2" physicalDirectory="..\..\..\Site2"> <Bindings> <Binding name="Endpoint2" endpointName="Endpoint2" /> </Bindings> </Site> </Sites> <Endpoints> <InputEndpoint name="Endpoint1" protocol="https" port="443" certificate="site1cer" /> <InputEndpoint name="Endpoint2" protocol="https" port="553" certificate="site1cer" /> </Endpoints>
SSL is in no way tied to a single port value; in fact, as a protocol, it can be used over any transport medium, as long as that medium provides a bidirectional stream for arbitrary bytes. In a Web context, you can use any port other than 443, provided that you specify it in the URL: https://www.example.com:7342/foobar.html Note that there are some networks (especially some free WiFi access points) that don't allow traffic over other ports than 443 or 80; which means that using a port other than 443, though perfectly standard and supported, may imply some practical usage restrictions.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)