Skip to content

Aembit provides the ability for you to use Agent Controller Transport Layer Security (TLS) certificates for secure Agent Proxy to Agent Controller communication in Kubernetes environments, and on Virtual Machine deployments, using Aembit’s PKI.

Configure Agent Controller TLS with Aembit’s PKI in Kubernetes

Section titled “Configure Agent Controller TLS with Aembit’s PKI in Kubernetes”

If you have a Kubernetes deployment and would like to use Aembit’s PKI, there are two configuration options, described below.

If you aren’t already using a custom PKI, install the latest Aembit Helm Chart. By default, Agent Controllers are automatically configured to accept TLS communication from Agent Proxy.

If you have already configured a custom PKI-based Agent Controller TLS, no additional steps are necessary, as your configuration will be preserved.

Configure Aembit’s PKI-based Agent Controller for VM deployments

Section titled “Configure Aembit’s PKI-based Agent Controller for VM deployments”

If you are using a Virtual Machine, Agent Controller will not know which hostname Agent Proxy should use to communicate with Agent Controller. This requires you to manually configure Agent Controller to enable TLS communication between Agent Proxy and Agent Controller.

  1. Log into your Aembit Tenant, and go to Edge Components -> Agent Controllers.

  2. Select or create a new Agent Controller.

  3. In Allowed TLS Hostname (Optional), enter the FQDN (Ex: my-subdomain.my-domain.com), subdomain, or wildcard domain (Ex: *.example.com) to use for the Aembit Managed TLS certificate.

  4. Click Save.

If you have not already configured Aembit’s PKI, perform the steps listed below.

  1. Install Agent Controller on your Virtual Machine, and set the AEMBIT_MANAGED_TLS_HOSTNAME environment variable to the hostname that Agent Proxy uses to communicate with Agent Controller. When set, Agent Controller retrieves the certificate for the hostname from Aembit Cloud, enabling TLS communication between Agent Proxy and Agent Controller.

  2. Configure Agent Proxy’s Virtual Machines to trust the Aembit Tenant Root Certificate Authority (CA).

When you have configured Agent Controller TLS, you can verify the status of Agent Controller TLS by performing the following steps:

  1. Log into your Aembit tenant.

  2. Click on the Edge Components link in the left navigation pane. You are directed to the Edge Components dashboard.

Edge Components Agent Controller Status Page

  1. By default, the Agent Controllers tab is selected. You should see a list of your configured Agent Controllers.

  2. Verify TLS is active by confirming color status button in the TLS column for the Agent Controller.

The table below lists the various Agent Controller TLS deployment models, denoting whether the configuration process is manual or automatic.

Agent Controller Deployment ModelCustomer Based PKIAembit Based PKI
KubernetesManualAutomatic
Virtual MachineManualManual
ECSNot SupportedAutomatic

Aembit-managed certificates are automatically rotated by the Agent Controller, with no manual steps or extra configuration required.