问题
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