Pages

Tuesday, October 26, 2010

Install Steps for Microsoft Live@Edu SSO (Single-Sign-On) on Windows 2008 and WIndows 2008 R2

I while back i wrote some quick notes on the install steps to setup Microsoft Live@Edu SSO on a Windows 2008 R2. Some of the details may be different for you enviroment and a later issues i point out may be resolved since i was working with Version 4.1. I worked on this when I wrote http://liveatedussolinks.codeplex.com/ which allows SSO to login to Outlook Live and Live@Edu from SharePoint 2010. (I really need to upload the newest version of the SharePoint WebPart to both Sites but email me if you want a copy.)
UPDATE 4-3-2012 : Sorry I've not been updating this project in a bit, I've actually rewrote this project and am looking around at creating or sale this SSO Login with support for a small fee but honestly don't know a good way of going about it. Anyone have an idea about how to go about this? Is it wise to do it your self or sell it to someone and let them resale it.
I assume you've already registered your site to use SSO with Microsoft and they have sent you a certificate to use. I had to work with them as the cert they sent was invalid but hopefully you have better luck than I did and it works on the first request. If you need it you must setup with Microsoft the Windows LiveID SSO Kit. if you haven't already done this go to the Live@edu service management portal (http://eduadmin.live.com/), select Single sign-on. Then, click Request SSO Support to request the SSO SDK and certificate.

Download Newest Version - Microsoft Live@Edu SSO and extract contents on the server we're going to be configuring and working from the same server do the following.

Import the Microsoft Certificate
  • Open MMC
    • add snap in for Certificates
    • chose computer account - local computer
    • Navigate to Personal Certs
    • Import the Cert Microsoft sent you for SSO
      • mark as exportable, no password needed
      • If imported a sapipartner.com entry should be added
      • Right click the sapipartner.com and chose all tasks
        • Manage Private keys
          • add everyone full and give full access
          • Need to sit down and figure out what is actually needed but this works
Install Microsoft Passport RPS (Relying Party Suite)
    • From the extracted folder Install rps64.msi
      • Warning: You must launch the msi with compatibility mode.
      • Chose Production
      • RPSServer.xml
      • leave rpscomponent.xml blank
      • leave sitename and everything else blank
      • leave DEK and everything else blank
      • NT AUTHORITY\NetworkService
      • navigate to c:\Program Files\Microsoft Passport RPS
        • copy RPSNetwork.xml to c:\Program Files\Microsoft Passport RPS\config
    • Test Microsoft Passport RPS by running rpsDiag.exe
      • click run
      • All should be green, if not use the errors and fix till they are all Sucessfull
    Install winhttpcertcfg.msi
    • open a Administrative command window to "C:\Program Files (x86)\Windows Resource Kits\Tools"
    • Run the following
    winhttpcertcfg.exe -g -a %ComputerName%\NetworkService -c LOCAL_MACHINE\My -s sapipartner.com
    
    • Check that granting private key access for account NT Authority\NetworkService works

    Create Web Site

    • Install Web Services Role (IIS)
      • Enable management Features
    • Copy SSOPortal folder from Microsoft Live@Edu SSO extracted folder  to C:\inetpub\wwwroot\
    • Edit web.config - This is very important, there are notes that come in the Microsoft Live@Edu SSO extracted folder on what to change.
    • Open IIS Manager
      • Convert SSOPortal an application.
      • Change the authentication to windows
      • Disable anonymous Authentication
    Test the SSOPortal site with http://(servername)/SSOPortal/default.aspx

    Warning: The following was only needed for Windows 2008 R2
    • Open MMC (fix only for 2008 R2)
      • add snap-in "Component Services"
      • open till DCOM Config
      • open properties on RPSSvc
        • Under Security
        • Give everyone full access
          • Need to sit down and figure out what is actually needed but this works

    13 comments:

    1. Hi Chris,

      I have been trying to do SSO with Live@Edu in Sharepoint 2010 without success, so I am very interested in your work.
      Can you please email at giany@lagcc.cuny.edu.

      Thanks so much,

      Gianina Taveras

      ReplyDelete
    2. Hi Chris,

      It's a good article. I've implemented the SLT integration with our web portal, allowing us to SSO into Outlook for students. I used PHP and based it on some of the the stuff that's available (yet old) on codeplex. However, just recently the endpoint for the Get SLT service (below) started to return blank a lot. I've got a looping structure in place now that tries until it returns something of use.

      https://ppsacredential.service.passport.net/pksecure/PPSACredentialPK.srf

      Have you had any trouble with it, or are you using a different URL for getting the SLT? You can find the URL in the files you mentioned under LiveSLT -> CredentialServiceAPISoapServer.cs -> line 100.

      ReplyDelete
    3. I haven't had any problems with a blank return.
      The Url is as follows.
      "https://ppsacredential.service.passport.net/pksecure/PPSACredentialPK.srf"

      Are us using "https://outlook.com/edu" as the redirectURL in the Web.config?

      ReplyDelete
    4. Hi Chris,

      Is there any chance of a copy of the SharePoint 2010 solution you've built please?

      We're in the process of publishing a SharePoint 2010 solution to 60 schools and we want to integrate it with the Live@edu service.

      Many thanks,

      Jason Roberts

      ReplyDelete
    5. Hi Chris,

      could you please email over the newest version of the program for Sharepoint 2010.

      Tom.

      ReplyDelete
    6. Hi, Can you mail it to me too.

      Paul@hepwood.com

      ReplyDelete
    7. Hello Chris,

      Could you please email me a copy of this solution?

      Thanks,
      Josh
      Josh.Martell@century.edu

      ReplyDelete
    8. I would very much like a copy of the Sharepoint 2010 solution too. If you could pass this on it would be greatly appreciated.

      Cheers,
      Chris

      chammond@qeliz.ac.uk

      ReplyDelete
    9. Hi Chris,

      Could you send me the Sharepoint 2010 solution as well?
      Very much appreciated.

      regards,
      Sjoerd, [devalk AT phil DOT uu DOT nl]

      ReplyDelete
    10. Could you please send me the Sharepoint 2010 solution as well?
      Thanks.

      stepanovs@hardpoint.eu

      ReplyDelete
    11. Could you please send me the Sharepoint 2010 solution as well?
      Thanks.

      mohamedbadwy666@yahoo.com

      ReplyDelete
    12. Could you please share the solution?
      my email id is kannabirank@yahoo.com

      ReplyDelete
    13. Hi, I could not find the set up rps.msi.
      Please, could you tell me where to download it.

      Thank.

      ReplyDelete

    Please leave a comment; someone, anyone!