FILTER BY TAG

Create a P12 Certificate

This section describes how to create or submit a P12 certificate, extract the certificate's
private key
, and test the private key to verify that it works. A private key is necessary for you to construct JSON Web Tokens (JWTs).
You can choose to create or submit a P12 certificate.
Create
a P12 certificate if you need a new certificate.
Submit
a P12 certificate if you want to use your own certificate.
(Optional) Meta Keys
If you are using a portfolio or merchant account, you have the option to create a
meta key
of a P12 certificate. Meta keys enable an organization administrator to assign a single P12 certificate to some or all transacting merchants in their organization. The purpose of a meta key is to reduce the time needed to manage an organization's keys. For example, by assigning the same meta key to all of your transacting merchants, you only need to update one key when it expires instead of having to update each transacting merchant's key.
For more information about meta keys, see the Meta Key Creation and Management section in the
Creating and Using Security Keys User Guide
.

Step 2A: Creating or Submitting a P12 Certificate

Follow these steps to create a P12 certificate file or submit your own certificate signing request (CSR):
  1. On the left navigation panel, choose
    Payment Configuration > Key Management
    .
  2. Click
    + Generate key
    on the Key Management page.
  3. Under REST APIs, choose
    REST – Certificate
    , and then click
    Generate key
    .
    If you are using a
    portfolio
    account, the Key options window appears, giving you the choice to create a meta key.
    For more information about how to create a meta key, see .
  4. Choose from these two options:
    1. If you are a creating a new P12 Certificate, click
      Download key
      .
    2. If you are submitting your own certificate, enter your public PEM-formatted certificate in the text box, then click
      Download key
      .
  5. Create a password for the certificate by entering one into the
    New Password
    and
    Confirm Password
    fields. Click
    Generate key
    .
    The
    .p12
    file downloads to your desktop.
    If prompted by your system, approve the location to which the key downloads.
To create or submit another key, click
Generate another key
. To view all of your created keys, go to the Key Management page.
IMPORTANT
Securely store the
.p12
file and password in your system. These credentials are required in order to implement certain products, and you must be able to access them.

Step 2B: Testing Your Private Key

After creating your key certificate, you must verify that it can successfully process API requests. This task explains how to test and validate your private key in the Developer Center and the
Business Center
.
Follow these steps:
  1. On the left navigation panel, click .
  2. Under Authentication and Sandbox Credentials, go to the Authentication Type drop-down menu and choose
    JSON Web Token
    .
  3. Enter your organization ID in the
    Organization
    field.
  4. Enter your Password in the
    Password
    field.
  5. Click
    Browse
    and upload your p12 certificate from your desktop.
  6. Click
    Update Credentials
    .
    A confirmation message states that your credentials are successfully updated.
  7. Go to the Developer Center's API Reference and navigate to
    Payments >
    POST
    Process a Payment
    .
  8. Click
    Send
    .
    A message confirms that your request was successful with the status code 201.
  9. Log in to the
    Business Center
    :
  10. On the left navigation panel, choose
    Transaction Management > Transactions
    .
  11. Under Search Results, verify that the request ID from the test authorization response is listed in the Request ID column.
    If the test authorization was successful, a success message is present in the corresponding Applications column.