This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-PSSnapin "Microsoft.SharePoint.PowerShell" | |
$issuerID = "11111111-1111-1111-1111-111111111111" | |
$targetSiteUrl = "http://wingtipserver" | |
$targetSite = Get-SPSite $targetSiteUrl | |
$realm = Get-SPAuthenticationRealm -ServiceContext $targetSite | |
$registeredIssuerName = $issuerID + '@' + $realm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$makecert = "C:\Program Files\Microsoft Office Servers\15.0\Tools\makecert.exe" | |
$certmgr = "C:\Program Files\Microsoft Office Servers\15.0\Tools\certmgr.exe" | |
# specify domain name for SSL certificate | |
$domain = "appserver.wingtip.com" | |
# create output directory to create SSL certificate file | |
$outputDirectory = "c:\Certs\" | |
New-Item $outputDirectory -ItemType Directory -Force -Confirm:$false | Out-Null |