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

前端 未结 9 2176
囚心锁ツ
囚心锁ツ 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:08

    I have found 4 possible causes for error 1312 in my port bindings:

    • The SSL cert is corrupt - you need to delete from the cert store and re-add.
    • The SSL cert is lacking a private key - you need to delete from the cert store and re-add the full public/private cert, or otherwise attach the private key to your certificate.
    • If installing on a pre-SP1 version of 2012R2, you may need KB 981506.
    • You may have added the SSL cert to your user store, and not the local machine cert store - delete from the user store and add to the machine store.

提交回复
热议问题