按照如何使用SSL证书配置端口中的说明,我在命令行中输入了以下命令(当然):
netsh http add sslcert ipport:10.141.146.227:7001 certhash=5d48e604007b867ae8a69260a4ad318d2c05d8ff appid={EDE3C891-306C-40fe-BAD4-895B236A1CC8}
输出:
The parameter is incorrect.
从证书的 计算机本地(Certificates (Local Computer)) → 个人(Personal) → 证书(Certificates folder)文件夹中获取了我的certhash
指纹。
生成了appid
GUID。
还有什么其他错误需要我解决才能使其正常工作?
certhash
之前放置appid
。就是这么愚蠢。 - Alexandrucerthash
和appid
值包含在单引号中('
)。删除单引号后,一切顺利进行。 - Uwe Keim