Obtain a new Token Signing Certificate. Ensure that the Enhanced Key Usage (EKU) includes "Digital Signature". Subject or ...

  1. Obtain a new Token Signing Certificate.
    • Ensure that the Enhanced Key Usage (EKU) includes "Digital Signature".
    • Subject or Subject Alternative Name (SAN) does not have any restrictions.
    • Please remember that your Federation Servers, your Resource Partner Federation Servers and Relying Party Application servers need to be able to chain to a trusted root certificate authority when validating your Token-Signing certificate.
  2. Install the certificate in the local certificate store on each Federation Server.
    • Ensure that the certificate installation file has the Private Key of the certificate on each server.
  3. Ensure that the Federation Service Account has access to the new certificate's private key.
  4. Add the new certificate to AD FS.
    1. Launch AD FS Management from the Administrative Tools menu.
    2. Expand Service and select Certificates
    3. In the Actions pane, click Add Token-Signing Certificate...
    4. You will be presented with a list of certificates that are valid for Token-Signing. If you find that your new certificate is not being presented in the list, you need to go back and make sure that the certificate is in the local computer Personal store with private key associated and the certificate has the Digital Signature KU.
    5. Select your new Token-Signing certificate and click OK
  5. Inform all the Relying Parties about the change in Token Signing Certificate.
    • Relying Parties that consume AD FS federation metadata, must pull the new Federation Metadata to start using the new certificate.
    • Relying Parties that do NOT consume AD FS federation metadata must manually update the public key of the new Token Signing Certificate. Share the .cer file with the Relying Parties.
  6. Set the new Token-Signing Certificate as Primary.
    1. With the Certificates node in AD FS Management selected, you should now see two certificates listed under Token-Signing: existing and the new certificate.
    2. Select your new Token-Signing certificate, right-click, and select Set as primary
    3. Leave the old certificate as secondary for roll over purposes. You should plan to remove the old certificate once you are confident it is no longer needed for roll over, or when the certificate has expired. Please remember that current users' SSO sessions are signed. Current AD FS Proxy Trust relationships utilize tokens that are signed and encrypted using the old certificate.