Getting started with Certificates and Keys in xDI Designer

This metadata allows defining certificates, keystores and truststores. They can be used in the other technologies that needs them such as HTTP/REST.

Keystores and truststores are Java files containing certificates and security keys that are used to secure communications.

Create a metadata

To create a Certificates and Keys metadata:

  1. Right-click the project folder, then click New > Metadata.

  2. In the New Metadata window, select Certificates and Keys and click Next.

  3. Enter a name for the data model and click Finish.

The Certificates and Keys root node is created.

Add keystore/truststore nodes

The keystore and truststore nodes allow defining the properties and access.

To add a keystore or a truststore:

  1. Right-click the root Certificates and Keys root node, then click New > Keystore or Truststore.

  2. Select Keystore or Truststore.

  3. Specify its properties:

    Property Description

    Name

    Name given to the keystore or truststore.

    File Path

    Absolute file path to the keystore/truststore.

    Type

    Type of keystore/truststore. For example JKS.

    Password

    Keystore file password. This password is required to open the file.

Add a key alias

A key alias represents a key inside the keystore/truststore.

To add a key alias:

  1. Right-click the root Certificates and Keys root node, then click New > Key Alias.

  2. Select Key Alias.

  3. Specify its properties:

    Property Description

    Name

    Name given to the key.

    Key Alias

    Alias of the key.

    Key Password

    Password of the key.

Add certificate nodes

To add a certificate:

  1. Right-click the root Certificates and Keys root node, then click New > Certificate.

  2. Select Certificate.

  3. Specify its properties:

    Property Description

    Name

    Name given to the certificate.

    File Path

    Absolute file path to the certificate.

    Type

    (Optional) Type of certificate.

    Password

    (Optional) Certificate password.