Setting Up TLS Keystores and Certificates
Adeptia Connect can secure communication through TLS, using a keystore to store the certificates and private keys that establish trusted, encrypted connections. This page explains what a keystore is, how Adeptia Connect uses it, and how to prepare and register your certificates so that the platform can use them.
What Is a Keystore?
A keystore is a file that stores cryptographic keys and certificates. In Adeptia, the keystore is used to:
- Present an identity certificate when Adeptia acts as a TLS server (so clients can verify they are connecting to the correct endpoint)
- Store trusted CA certificates when Adeptia acts as a TLS client (so Adeptia can verify the identity of upstream services)
Adeptia supports the standard Java KeyStore (JKS) format and PKCS12 format.
Preparing Your Keystore
Before registering a keystore in Adeptia:
- Obtain the certificate and private key for your deployment from your PKI team or certificate authority.
- Import the certificate and key into a keystore file using
keytool(included with the JDK):keytool -importkeystore -srckeystore source.p12 -srcstoretype PKCS12 -destkeystore adeptia.jks -deststoretype JKS - Note the keystore password and the alias of the certificate entry you want Adeptia to use.
Registering the Keystore in Adeptia
In the Portal, navigate to Administrate > Security Provider and select Keystore. Provide:
| Field | Value |
|---|---|
| Keystore File | Upload the .jks or .p12 file |
| Keystore Password | The password protecting the keystore |
| Key Alias | The alias of the certificate entry to use |
| Key Password | The password for the private key entry (if different from the keystore password) |
Save the configuration. Adeptia will use the registered keystore for TLS connections.
Trusting External Certificates
If Adeptia needs to connect to a service that uses a certificate signed by a private CA (not a public CA), import the CA certificate into the platform's truststore:
- Export the CA certificate in PEM format.
- In the Portal, navigate to Administrate > Security Provider > Truststore and import the CA certificate.
Once trusted, Adeptia will accept TLS connections from services presenting certificates signed by that CA.
Related Pages
- Configuring Login and Authentication: Authentication setup for the platform