forked from norman/fusionpbx-install.sh-github-mirror
Update install-iis.ps1 (#146)
This commit is contained in:
@@ -48,7 +48,7 @@ Function Install-IIS([string]$path) {
|
|||||||
|
|
||||||
#$site.Bindings | Format-Table protocol,EndPoint,Host,SslFlags -AutoSize
|
#$site.Bindings | Format-Table protocol,EndPoint,Host,SslFlags -AutoSize
|
||||||
|
|
||||||
#$cert = (Get-ChildItem –Path cert:\LocalMachine\My | Sort-Object NotAfter | Select-Object -Last 1).Thumbprint
|
#$cert = (Get-ChildItem –Path cert:\LocalMachine\My | Sort-Object NotAfter | Select-Object -Last 1).Thumbprint
|
||||||
#netsh http delete sslcert ipport=0.0.0.0:443
|
#netsh http delete sslcert ipport=0.0.0.0:443
|
||||||
#netsh http add sslcert ipport=0.0.0.0:443 certhash=$cert "appid={4dc3e181-e14b-4a21-b022-59fc669b0914}"
|
#netsh http add sslcert ipport=0.0.0.0:443 certhash=$cert "appid={4dc3e181-e14b-4a21-b022-59fc669b0914}"
|
||||||
#netsh http show sslcert
|
#netsh http show sslcert
|
||||||
|
|||||||
Reference in New Issue
Block a user