netsh
netsh - Windows XP上未找到以下命令错误(netsh - The following command was not found error on Windows XP)当我运行以下netsh命令时:
netsh http add sslcert ipport = 0.0.0.0:44300 appid = {00112233-4455-6677-8899-AABBCCDDEEFF} certhash = dafebdb65ec7544218bf9a1794c6424 0207f63b9。
使用powershell或visual studio命令提示符我收到以下错误:
找不到以下命令:http add sslcert ipport = 0.0.0.0:44300 appid = {00112233-4455-6677-8899-AABBCCDDEEFF} certhash = dafebdb65ec7544218bf9a1794c6424 0207f63b9。
我目前正在配置一个WCF服务以使用SSL,并且已经从john sharp的“windows communcation foundation 4 - step-by-step”一书中得到了关注。
我有visual studio 2010 SP1并使用IIS Express。 我能想到的唯一区别是我运行的是Windows XP Professional而不是Windows 7
when i run the following netsh command :
netsh http add sslcert ipport=0.0.0.0:44300 appid ={00112233-4455-6677-8899-AABBCCDDEEFF} certhash=dafebdb65ec7544218bf9a1794c6424 0207f63b9.
using powershell or visual studio command prompt i get the following error:
The following command was not found: http add sslcert ipport=0.0.0.0:44300 appid ={00112233-4455-6677-8899-AABBCCDDEEFF} certhash=dafebdb65ec7544218bf9a1794c6424 0207f63b9.
I am currently configuring a WCF service to use SSL and have been following from the book 'windows communcation foundation 4 - step-by-step' by john sharp.
I have visual studio 2010 SP1 and using IIS Express. The only difference I could think of is that i am running Windows XP Professional instead of Windows 7
最满意答案在Windows XP上, netsh无法正常工作。请使用httpcfg 。 您需要从Microsoft下载中心下载“WindowsXP-KB838079-SupportTools-ENU.exe”或从此处尝试。 更改:
netsh http add sslcert ipport=0.0.0.0:44300 appid ={00112233-4455-6677-8899-AABBCCDDEEFF} certhash=dafebdb65ec7544218bf9a1794c6424 0207f63b9至
httpcfg set ssl -i 0.0.0.0:44300 -h dafebdb65ec7544218bf9a1794c64240207f63b9这将创建SSL。 检查类型
httpcfg query ssl在CMD 。
希望能帮助到你。
On Windows XP netsh will not work properly.Better use httpcfg. You will need to download "WindowsXP-KB838079-SupportTools-ENU.exe" from Microsoft Download Center or try from here. Change:
netsh http add sslcert ipport=0.0.0.0:44300 appid ={00112233-4455-6677-8899-AABBCCDDEEFF} certhash=dafebdb65ec7544218bf9a1794c6424 0207f63b9To
httpcfg set ssl -i 0.0.0.0:44300 -h dafebdb65ec7544218bf9a1794c64240207f63b9This will create the SSL. To check type
httpcfg query sslin CMD.
Hope it helps.