Programmatically or declaratively demand client certificate for a single asp.net page in IIS

岁酱吖の 提交于 2019-12-06 03:40:20

问题


The title pretty much says it, I've rolled out an IIS 7 website with an SSL certificate and now willing to set "SSL Settings/Client certificates/Accept" for a single page but programmatically or declaratively. I've found a way of doing this using the IIS manager but due to some infrastructure limitations we need to be able to configure it without having access to IIS Manager.

Any pointers shall be greatly appreciated!

Many thanks


回答1:


Perhaps this can help?

http://msdn.microsoft.com/en-us/library/aa347649%28VS.90%29.aspx

It's the managed code sdk for IIS7. It can do most things to IIS, surely what you want is in there?



来源:https://stackoverflow.com/questions/6145348/programmatically-or-declaratively-demand-client-certificate-for-a-single-asp-net

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