Request Client Certificate

安稳与你 提交于 2019-12-06 12:08:28

The problem was Visual Studio 2015 puts its IIS Express applicationhost.config file in one of the child directories of the solution. It's in the .vs/config directory.

My suggestion to anyone else running into this problem is to:

(1) First make sure the configuration is about what you think would work (SslRequireCert or negotiate). That part is not likely to hold you up if you know what it should be in the applicationhost.config file.

(2) Second have the Certificates set up correctly. I don't think this was a problem in my case, but it could prevent you from reading this property. You should be able to open mmc (type mmc after hitting the Windows button), going to Certificates (or adding the snap in if you don't have it), and making sure Personal/Certificates and Intermediate Certificates/Certificates or Trusted Root Certificates/Certificates have the certificates you need.

And, as I said:

(3) Make sure you have the right applicationhost.config.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!