Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand

Sign Certificate

Posted by Jean Paul on October 31, 2015

This is a part of the article-series:

Sign Certificate

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.

Add-PSSnapin “Microsoft.SharePoint.PowerShell”

$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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s