Retrieving SHA256 thumbprint (fingerprint) for SAML SSO Certificates

cyberScotty 20 Reputation points
2023-02-03T01:46:08.9533333+00:00

The fingerprint for SAML-based sign-on for enterprise applications is currently only displayed in SHA1. Even when the signing algorithm is chanbed to SHA256 or it is SHA256 when a New Certificate is created, the thumbprint doesn't change and always remains as SHA1.

Having the fingerprint displayed in the selected signing algorithm would be extremely helpful -so if MS is reading, please do this!

ksnip_20230203-123422

Generate Your Own SHA256 Fingerprint from Certificate:

  1. Download the certificate in Base64 format from the ellipses menu.
  2. Visit www.samltool.com/fingerprint.php and paste in your X.509 cert.
  3. Choose SHA1 and calculate, match the calcuated fingerpring with the AD thumbprint.
  4. Then recalculate in SHA256, this is your SHA256 thumbprint.
  5. Use the resulting SHA256 thumbprint (fingerprint) in your app.

User's image

User's image

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Accepted answer
  1. JamesTran-MSFT 36,911 Reputation points Microsoft Employee Moderator
    2023-02-07T01:05:32.5333333+00:00

    @cyberScotty

    Thank you for your post and I'm glad that you were able to resolve your issue!

    From your issue, I understand that the fingerprint of the SAML based certificate is only displayed in SHA1, even when changing or creating a new certificate with the Certificate signing algorithm set to SHA256.

    User's image

    Note: The thumbprint is used to identify the certificate and it is not related to the signing algorithm.

    I've reached out to our SAML team to see if they can share any inputs on this limitation within the Portal, and I've also created an internal feature request so our engineering team can look into implementing this.

    Thank you!

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.