I am able to display the sites in my IIS using the serverManager.Site. Is there any way to list the files in each of the Website. I need to change RequireSSL property of one of the File. Is that Possible using ServerManager? Or any other way to do the same like appcmd ? Any Help is appreciated.

有帮助吗?

解决方案

I found a Solution in the link provided by Antonio in the comment. Basically we can change the ApplicationHost Config File to get it done. Heres the link again

Configure SSL on a Microsoft.Web.Administration.Application object?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top