“The parameter is incorrect.” error using netsh http add sslcert

后端 未结 18 1616
后悔当初
后悔当初 2020-12-14 05:47

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 comman

18条回答
  •  心在旅途
    2020-12-14 06:16

    there were a few things i did that i thought made it work after getting the same "The parameter is incorrect." Error.

    1) restarted machine and did it again. it worked the first time. 2) made sure i was in c:\ and put the command again after restarting didn't work

    i couldn't explain why but i think that maybe both times, there was something else wrong. because the third time this happened to me,

    3) i went through the thumbprint of my CA (not the issued server cert) and copied it again from the MMC and it worked.

    after this happened, i deleted it again (netsh http delete sslcert ipport=0.0.0.0:) and repeated the process using the thumbprint of the server certificate. The darned thing worked again.

    I dunno, just try going through the same thing I did. maybe one of these would work. In the end, i suspect that I entered a bogus space or character in the certhash.

提交回复
热议问题