This is a part of the article-series:
We need to Sign the Certificate for using in the PHA applications.
Locate the Exported Certificate. We need the path in further steps.
Open PowerShell ISE in Administrator mode.
Run the following script.
$issuerID = “88ccebfd-713b-21d3-f1a7-a4133a1b8a8a”
$certPath = “C:/Cert/SharePoint2013Cert.cer”
$cert = Get-PfxCertificate $certPath
$web = Get-SPWeb “http://sharepoint”
$realm = Get-SPAuthenticationRealm -ServiceContext $web.Site
$appid = $issuerID + ‘@’ + $realm
New-SPTrustedSecurityTokenIssuer -Name “PHA App” -Certificate $cert -RegisteredIssuerName $appid –IsTrustBroker
Once executed your Certificate is Signed.
Now you can use the Signed Certificate for the PHA application.