$rootCert = (Get-SPCertificateAuthority).RootCertificate$rootCert.Export("Cert") | Set-Content"C:CertsEnterpriseServicesRo...
$rootCert = (Get-SPCertificateAuthority).RootCertificate$rootCert.Export("Cert") | Set-Content"C:CertsInternetRootCert.cer...
$farmID = (Get-SPFarm).IdNew-Item C:CertsinternetConsumerFarmID.txt -type file -force -value "$farmID“
Copy-Item $consumerc$CertsInternetConsumerFarmID.txt$publisherc$CertsCopy-Item $publisherc$CertsEnterpriseServicesRootCert...
$trustCert = Get-PfxCertificate "C:certsInternetRootCert.cer"New-SPTrustedRootAuthority Internet -Certificate $trustCert$s...
$trustCert = Get-PfxCertificate"C:CertsEnterpriseServicesRootCert.cer"New-SPTrustedRootAuthority EnterpriseServices -Certi...
$farmID = Get-Content C:CertsInternetConsumerFarmID.txt$security = Get-SPTopologyServiceApplication | Get-SPServiceApplica...
$principal = New-SPClaimsPrincipal -ClaimType"http://schemas.microsoft.com/sharepoint/2009/08/claims/farmid" -ClaimProvide...
http://technet.microsoft.com/en-us/magazine/hh528474.aspx
Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
Let’s Cross It Up – Cross-Farm Services in SharePoint 2010
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

1,260 views
1,149 views

Published on

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

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,260
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

  1. 1. $rootCert = (Get-SPCertificateAuthority).RootCertificate$rootCert.Export("Cert") | Set-Content"C:CertsEnterpriseServicesRootCert.cer" -Encoding byte
  2. 2. $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
  3. 3. $farmID = (Get-SPFarm).IdNew-Item C:CertsinternetConsumerFarmID.txt -type file -force -value "$farmID“
  4. 4. 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
  5. 5. $trustCert = Get-PfxCertificate "C:certsInternetRootCert.cer"New-SPTrustedRootAuthority Internet -Certificate $trustCert$stsCert = Get-PfxCertificate "c:certsInternetSTSCert.cer"New-SPTrustedServiceTokenIssuer Internet -Certificate $stsCert
  6. 6. $trustCert = Get-PfxCertificate"C:CertsEnterpriseServicesRootCert.cer"New-SPTrustedRootAuthority EnterpriseServices -Certificate$trustCert
  7. 7. $farmID = Get-Content C:CertsInternetConsumerFarmID.txt$security = Get-SPTopologyServiceApplication | Get-SPServiceApplicationSecurity$claimProvider = (Get-SPClaimProvider System).ClaimProvider
  8. 8. $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
  9. 9. http://technet.microsoft.com/en-us/magazine/hh528474.aspx

×