Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found

后端 未结 13 2264
南旧
南旧 2021-01-30 19:46

I am working on a fabric application where I have configured HTTPS. It is throwing an exception though I have a valid installed certificate.

13条回答
  •  渐次进展
    2021-01-30 20:43

    I had this issue on my Windows 10 system using visual studio. The problem seemed to be that the command used in the GUI to clear the local certs for HTTPS was failing with an error message that I can no longer reproduce.

    The solution for me was to open the certmgr for the current windows account and to delete all of the personal localhost certs. There was ~20 certs there for me because I've tried re-creating them many times. After deleting all of those certs I ran my .Net core HTTPS API once more and everything worked!

    In summary, open your certmgr for your current user and clear all personal/localhost certs.

提交回复
热议问题