Verifying a Signature

To validate or verify a signature, download the public key from your Centrify tenant.

Getting the Public Key via the Admin Portal

To get the public key via the Admin Portal, first download the certificate file:

  1. Navigate to the Admin Portal.
  2. Navigate to Settings > Authentication > Signing Certificates.
  3. Click the box next to the certificate of interest in the list so that is has a checkmark beside it.
  4. Select download from the menu to download the certificate (.cer) file.

Extract the public key from the certificate obtained above using openssl as shown in the following example:

openssl x509 -in "downloads\Centrify SHA256 Tenant Signing Certificate.cer" -pubkey -noout

-----END PUBLIC KEY-----

Getting the Public Key Programmatically

To generate a public key programmatically, first invoke the /Core/GetCertificateInfos endpoint to get the list of certificates:


The Results field in the response contains the list of certificates and the Thumbprint subfield in each element contains the certificate's ID:

               "Subject":", OU=dev, O=Centrify, L=SC, S=CA, C=US",
               "Issuer":", OU=dev, O=Centrify, L=SC, S=CA, C=US",

Invoke the /Core/DownloadCertificate endpoint passing the certificate ID from the previous call via the thumbprint query parameter:


The response contains the certificate information:

HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Date: Wed, 11 Apr 2018 16:45:58 GMT
Content-Length: 1220


Try the API in Postman:
Try the API in Postman.
Click here for help with using our sample Postman collection.