I have a really cool 2010 lab environment at home and one of the things I wanted to do was to make sure I was able to demo SharePoint 2010 ‘s claims-based authentication capabilities, especially using ADFS v2. I was amazed at how straight forward the process was. Just a few lines of PowerShell and I was authenticating with our Microsoft IT’s ADFS v2 end point. Very cool stuff. So here’s what I did: Pre-requisites -First, have your security admin configure your relying point URL in ADFS v2. This tells ADFS that you are a trusted end point and you are allowed to authenticate. This is what allows/prevents anyone in the world from authenticating with your service (assuming they knew a correct username/password). -Next, you will need to get the certificate used by your security team for ADFS. Save it locally. -Lastly, you’ll need a web application that was created using “Claims-based Authentication” (not “Classic” ) Steps to configure 1. After that is complete, Open PowerShell Management Console for SharePoint 2010 as an Administrator. 2. After PowerShell opens, run the two commands below to get a reference to the certificated provided to you.
7. Now, browse to Manage Web Applications in Central Administration (you may need to run Central Admin as an Administrator). Click on a web application and choose Authentication Providers button in the ribbon. And choose the appropriate zone you want to configure. 8. Scroll down to the Claims-based Authentication Providers section and put a checkbox next to “Trusted Identity Provider” and again next to the name of the provider you created in step #5. Note: a great new feature in SharePoint 2010 is the ability to specify multiple authentication providers on a given zone within a web application. e.g. you can leave Windows Authentication (NTLM) checked and also check Trusted Identity Provider. Doing so will give you an option when you load the web application to choose which authentication method you want.
9. The last step is to ensure all of the certificate(s) [all certs in the chain] are added to the following stores: Also, confirm that your cert(s) were added to the trusted root authority (in Step 3 by viewing the certs under “Trusts” in Central Administration: NOTE: if your certs are issued in a chain like mine were, you will also need to set the trust on your web application to Medium (via web.config) or you will receive errors like the following or create a custom trust level to include the certs. The issuer of the token is not a trusted issuer The root of the certificate chain is not a trusted root authority.
Excellent!! this is what I was looking for, time to get hold of sec admin!!