Skip to content

[elastic-agent][fleet-server] enrollment fails when certs and localhost are configured  #25086

@simitt

Description

@simitt

When configuring a FLEET_CA and FLEET_SERVER_CERT and FLEET_SERVER_CERT_KEY in combination with the FLEET_URL, the elastic-agent cannot enroll via the fleet-server and following error is logged:

2021-04-14T15:29:03.760Z	INFO	log/reporter.go:40	2021-04-14T15:29:03Z: type: 'STATE': sub_type: 'RUNNING' message: Application: fleet-server--7.13.0-SNAPSHOT[]: State changed to DEGRADED: Running on default policy with Fleet Server integration; missing config fleet.agent.id

The Fleet Server then reports degraded health.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions