Skip to main content

Configuration Steps

1

Certificate Preparation

Prepare certificates:
  • Create or obtain SSL/TLS certificate
  • Prepare private key
  • Prepare certificate chain (if necessary)
It is recommended that certificates are valid and signed by a trusted certificate authority.
2

Certificate Format Conversion

Convert certificate format to JKS format if necessary:
  • PFX to JKS conversion
  • PEM to JKS conversion
For certificate conversion operations, you can check the PFX JKS Conversion page.
3

Creating Kubernetes Secret

Create certificates as Kubernetes secret:
When creating secret, make sure you specify the correct paths of certificate and private key files.
4

Deployment Configuration

Configure SSL settings in deployment configuration:
SSL settings are configured through environment variables. Keystore file needs to be in an accessible location inside the pod.

API Manager SSL Configuration

Certificate Loading

First, load your certificate file with .p12 extension to Kubernetes as a secret.

Finding Certificate Alias

To find the Alias of a certificate:

Creating PKCS12 from JKS

To convert certificate in JKS format to PKCS12 format:
Add your file with .p12 extension to /etc/ssl/certs directory.

Required Environment Variables

Variables that should be in deployment yaml definition:

Example API Manager Deployment File

An example API Manager deployment file:

Certificate Creation

Steps to be applied to create your own certificate:
1
Creating Private Key
2
Creating CSR (Certificate Signing Request)
3
Creating Signed Certificate
4
Converting to PKCS#12 Format

PFX JKS Conversion

Converting PFX files to JKS format