Creating Base64 Encoded Version of Certificate

The API request to obtain a token requires the certificate to be Base64 format.

Steps

  1. Locate the certificate that was downloaded and saved from Security Administration in step 10 of the Security Administration Setup.
  2. Convert this file to Base64 format, and save it to a text file.

Base64 Command Syntax Example

Base64 conversion can be done using a Powershell script, C# code, freeware, etc. Choose the method approved by your organization’s processes.

Below is an example of using command syntax to convert the file.

  1. You can perform this conversion from a command prompt using the following command. In this example, filename.cer is the file name for the certificate that was downloaded and filename.txt contains the base64 certificate:
    1. certutil -encode filename.cer filename.txt
    2. Edit filename.txt to remove the header and footer text, and strip all carriage returns. The contents of the file must form a single line without any embedded spaces or carriage returns.
  2. Save this certificate text for use in the request for token. (See Postman example in the Example API Requests.)