Body:
Create a certificate first
Makecert-SK shareachcert-n "cn = orgnize name"-Sr localmachine-pe-sky-ic "C: \ shareach. Cer"
Install Certificate
I am an XP and 2003 System (Vista and 2008 use netsh without environment testing)
Download the tool httpcfg.exe: xp. 2003 can be found in the installation disk support/tools/support. Cab. You can copy it and use it. httpcfg usage
View all the ports bound to the certificate: httpcfg query SSL
Double-click the generated certificate. In the details, copy the value of thumbprint (Green, remove spaces) and run the following command:
Port-bound Certificate
Httpcfg set SSL-I 0.0.0.0: 8031-H 67935882259da4e90184ce4b76bf919279494874
Query httpcfg query SSL
------------------------------------------------------------------------------
IP: 0.0.0.0: 8031
Hash:
Guid: {00000000-0000-0000-0000-000000000000}
Certstorename: (null)
Certcheckmode: 0
Revocationfreshnesstime: 0
Urlretrievaltimeout: 0
Sslctlidentifier: (null)
Sslctlstorename: (null)
Flags: 0
Delete the certificate bound to the port
Httpcfg Delete SSL-I 0.0.0.0: 8031-H 67935882259da4e90184ce4b76bf919279494874
Category: WCF
Release date: