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:
-
Right-click the project folder, then click New > Metadata.
-
In the New Metadata window, select Certificates and Keys and click Next.
-
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:
-
Right-click the root Certificates and Keys root node, then click New > Keystore or Truststore.
-
Select Keystore or Truststore.
-
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:
-
Right-click the root Certificates and Keys root node, then click New > Key Alias.
-
Select Key Alias.
-
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:
-
Right-click the root Certificates and Keys root node, then click New > Certificate.
-
Select Certificate.
-
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.