Skip to content

Agent Configuration ​

Once the package has been downloaded and extracted, you must configure the .env file located in the config directory.

text
certguardian-agent/
├── certguardian-agent(.exe)
└── config/
    └── .env

Platform Configuration ​

Configure the following values to allow the agent to communicate with the CertGuardian platform.

env
# CertGuardian API Configuration

API_URL=""
API_TOKEN=""

API_URL ​

URL of the CertGuardian Agent API endpoint.

The URL must always include the /api/agent path.

Example:

env
API_URL="https://api-certguardian.example.com/api/agent"

Important

The API_URL must point to the /api/agent endpoint. If only the platform URL is configured, the agent will not be able to communicate correctly with CertGuardian.

API_TOKEN ​

Token generated when creating the agent in the CertGuardian platform.

Example:

env
API_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxx"

Important

Each agent has its own token. Use the token associated with the agent previously created in the CertGuardian platform.

CSR Information ​

These values will be used as default values when generating Certificate Signing Requests (CSRs).

env
# CSR Subject Information

ORG="MyCompany"
COUNTRY=""
STATE=""
LOCALITY=""

ORG ​

Organization name.

COUNTRY ​

Two-letter country code.

Example:

env
COUNTRY="ES"

STATE ​

State or province.

LOCALITY ​

City or locality.

CertGuardian is an SSL/TLS lifecycle automation tool developed and supported by Entorno Digital.