“参数不正确."使用 netsh http 添加 sslcert 时出错 [英] "The parameter is incorrect." error using netsh http add sslcert
问题描述
按照此链接中如何:使用 SSL 证书配置端口"的说明进行操作:http://msdn.microsoft.com/en-us/library/ms733791.aspx,我在命令行输入了这个命令(废话):
Following the instructions on "How to: Configure a Port with an SSL Certificate" in this link: http://msdn.microsoft.com/en-us/library/ms733791.aspx, I entered this command on the commandline (duh):
> netsh http add sslcert ipport:10.141.146.227:7001 certhash=5d48e604007b867ae8a69260a4ad318d2c05d8ff appid={EDE3C891-306C-40fe-BAD4-895B236A1CC8}
The parameter is incorrect.
我的 certhash
指纹取自 Certificates(Local Computer)>Personal>Certificates 文件夹中的证书.
My certhash
thumbprint was taken from the certificate in Certificates(Local Computer)>Personal>Certificates folder.
appid
GUID 已生成.
还有什么问题需要我修复才能使其正常工作?
What else is wrong that I need to fix to get this to work?
推荐答案
在 PowerShell 中只需键入如下.首先进入netsh http模式,然后添加sslcert.它对我有用.
In PowerShell just type as follows. first get into netsh http mode and then add sslcert. It's worked for me.
>netsh
netsh>http
netsh http>add sslcert ipport=0.0.0.0:13286 appid='{a5455c78-6489-4e13-b395-47fbdee0e7e6}' certhash=<thumprint without space>
这篇关于“参数不正确."使用 netsh http 添加 sslcert 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!