我完全不熟悉 Windows PowerShell。
我正在尝试更改 IIS 的默认网站的 SSL 设置
Required SSL = false and client certificate = ignore
到
Required SSL = true and client certificate = accept
使用 powershell(我必须将其配置为 ansible playbook)
我已经搜索但没有得到任何解决方案。
请帮忙。任何线索或解决方案将不胜感激。 :) 谢谢你
最佳答案
使用 Set-WebConfiguration
cmdlet。有一个很棒的configuration reference on IIS.NET您可以使用它来查找有效值 - 在本例中为 Ssl
和 SslNegotiateCert
:
Set-WebConfiguration -Location "[sitename]" -Filter 'system.webserver/security/access' -Value 'Ssl,SslNegotiateCert'
关于windows - 使用 powershell 更改 IIS SSL 设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45433282/