/
How to retrieve certificate from metadata

How to retrieve certificate from metadata

Description of Issue

Configured with SAML IdP in TID-W and need to renew certificate but the IdP is not external

Context
  • TID-W

  • ADFS

  • Signing Certificate

Cause

400: Bad Request Error Code: GENERAL_NONSUCCESS

Resolution
  1. Open the metadata file and find use="signing" entry

  2. Copy the data from the <X509Certificate> element.

  3. Paste it to a new text file.

  4. Insert -----BEGIN CERTIFICATE----- to the beginning of the file .

  5. Append -----END CERTIFICATE----- to the end of the file. For example:
     
    -----BEGIN CERTIFICATE-----
    MIICPTCCAaagAwIBAgIGAUIAVrpxMA0G
    ......
    96sa3ZdjPQkSZa48l6ZW86yLAECUXQ==
    -----END CERTIFICATE-----

  6. Save the text file with a .CRT extension.

Additional Information