Getting Started with Certificates and Keys

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 Certificate 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.