Skip to content

Using Aembit’s PKI for Agent Controller TLS certificates enables you to have secure Agent-Proxy-to-Agent-Controller communication in Kubernetes environments and on Virtual Machine deployments.

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.

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 custom PKI-based Agent Controller TLS, no additional steps are necessary, as Aembit preserves your configuration.

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 won’t 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 haven’t already configured Aembit’s PKI, perform the these steps:

  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 sidebar. Aembit displays the Edge Components dashboard.

    Edge Components Agent Controller Status Page

  3. Aembit displays the Agent Controllers tab. You should see a list of your configured Agent Controllers.

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

The following table lists the different 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.