Which appid should be used with netsh.exe?

The netsh command wants appid ( see here ):

netsh http add sslcert ipport=0.0.0.0:8000 certhash=0000000000003ed9cd0c315bbb6dc1c08da5e6 appid={00112233-4455-6677-8899-AABBCCDDEEFF} 

I have not yet been able to figure out how I should know what the netsh GUID wants me to provide. Any clues?

+60
windows ssl wcf netsh
Feb 11 '09 at 14:57
source share
3 answers

You can use any valid GUID. It is used only so that you can later identify the binding.

+59
Feb 11 '09 at 15:07
source share

I used the application GUID for my WCF service, which is located in the AsseblyInfo.vb (VB.NET) or AssemblyInfo.cs (C #) file of my host application (Windows service), as shown below:

 <Assembly: Guid("8fbacae2-bd4e-8ef5-b202-1561845dd04f")> 

I used this as the appid parameter for the netsh.exe tool, for example:

 appid={8fbacae2-bd4e-8ef5-b202-1561845dd04f} 

It worked perfectly, and my WCF service uses the Https protocol through this SSL certificate.

+24
Sep 20 '10 at 21:05
source share

If you bind the certificate using the IIS GUI (inetmgr.exe), then run "netsh http show sslcert", you will see the AppID from {4dc3e181-e14b-4a21-b022-59fc669b0914}, which is the IIS AppID uses, so this application, which I use too.

+1
Dec 24 '13 at 0:28
source share



All Articles