Using netsh, bind an SSL certificate to a port number is failing

前端 未结 9 2191
囚心锁ツ
囚心锁ツ 2020-12-08 19:57

I have followed the instructions in SSL with Self Hosted WCF Service. When I am trying to bind the certificate on Windows 7 using netsh as described in How to: Conf

9条回答
  •  悲哀的现实
    2020-12-08 20:10

    Actually it has nothing to do with refresh. I have wasted so much time with the same issue. If you do a fresh install you will not run across this problem, but problem will occur if you try to:

     1. Import same certificate again
     2. You create a new certificate and try to bind it which has same parameters, namely the CN value.
    

    To get rid of this problem, either delete this certificate properly from your certificate store and IIS server cache, or (for development purposes only), create a new certificate, but with a different CN value, the command will work.

提交回复
热议问题