Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
Upcoming SlideShare
Loading in...5
×
 

Let’s Cross It Up – Cross-Farm Services in SharePoint 2010

on

  • 1,445 views

Presented at SharePoint TechFest on May 17, 2012. All rights reserved.

Presented at SharePoint TechFest on May 17, 2012. All rights reserved.

Statistics

Views

Total Views
1,445
Views on SlideShare
1,445
Embed Views
0

Actions

Likes
0
Downloads
13
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Let’s Cross It Up – Cross-Farm Services in SharePoint 2010 Let’s Cross It Up – Cross-Farm Services in SharePoint 2010 Presentation Transcript

  • $rootCert = (Get-SPCertificateAuthority).RootCertificate$rootCert.Export("Cert") | Set-Content"C:CertsEnterpriseServicesRootCert.cer" -Encoding byte
  • $rootCert = (Get-SPCertificateAuthority).RootCertificate$rootCert.Export("Cert") | Set-Content"C:CertsInternetRootCert.cer" -Encoding byte$stsCert = (Get-SPSecurityTokenServiceConfig).LocalLoginProvider.SigningCertificate$stsCert.Export("Cert") | Set-Content"C:CertsInternetSTSCert.cer" -Encoding byte
  • $farmID = (Get-SPFarm).IdNew-Item C:CertsinternetConsumerFarmID.txt -type file -force -value "$farmID“
  • Copy-Item $consumerc$CertsInternetConsumerFarmID.txt$publisherc$CertsCopy-Item $publisherc$CertsEnterpriseServicesRootCert.cer$iconsumerc$CertsCopy-Item $iconsumerc$CertsInternetRootCert.cer$publisherc$CertsCopy-Item $iconsumerc$CertsInternetSTSCert.cer$publisherc$Certs
  • $trustCert = Get-PfxCertificate "C:certsInternetRootCert.cer"New-SPTrustedRootAuthority Internet -Certificate $trustCert$stsCert = Get-PfxCertificate "c:certsInternetSTSCert.cer"New-SPTrustedServiceTokenIssuer Internet -Certificate $stsCert
  • $trustCert = Get-PfxCertificate"C:CertsEnterpriseServicesRootCert.cer"New-SPTrustedRootAuthority EnterpriseServices -Certificate$trustCert
  • $farmID = Get-Content C:CertsInternetConsumerFarmID.txt$security = Get-SPTopologyServiceApplication | Get-SPServiceApplicationSecurity$claimProvider = (Get-SPClaimProvider System).ClaimProvider
  • $principal = New-SPClaimsPrincipal -ClaimType"http://schemas.microsoft.com/sharepoint/2009/08/claims/farmid" -ClaimProvider $claimProvider -ClaimValue $farmIDGrant-SPObjectSecurity -Identity $security -Principal $principal -Rights "Full Control"Get-SPTopologyServiceApplication | Set-SPServiceApplicationSecurity -ObjectSecurity $security
  • http://technet.microsoft.com/en-us/magazine/hh528474.aspx