Skip to main content
Automatically request, persist, and renew certificates on a server using the Infisical Agent.

Prerequisites

Steps

1

Install Infisical CLI

2

Create Agent Configuration

Save your machine identity’s client ID and client secret into files on the target machine, then create /etc/infisical/agent-config.yaml pointing at them:
3

Start the Agent

Result

The agent will:
  • Authenticate with Infisical using your machine identity
  • Request a certificate and save it to the configured paths
  • Automatically renew it before expiration
  • Execute post-hooks (like reloading NGINX) after renewal

Next steps