# Elastic Security for SIEM (On-Demand): Lab 1.1 Agent enrolment error

**URL:** <https://discuss.elastic.co/t/elastic-security-for-siem-on-demand-lab-1-1-agent-enrolment-error/378877>\
**Category:** Elastic Training\
**Created:** [June 4, 2025, 3:42pm UTC](https://discuss.elastic.co/t/elastic-security-for-siem-on-demand-lab-1-1-agent-enrolment-error/378877 "2025-06-04T15:42:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodboothman](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@rodboothman](https://discuss.elastic.co/u/rodboothman)\
**Post date:** [June 4, 2025, 3:42pm UTC](https://discuss.elastic.co/t/elastic-security-for-siem-on-demand-lab-1-1-agent-enrolment-error/378877/1 "2025-06-04T15:42:38Z")

</div>

Course: Elastic Security for SIEM (On-Demand):  
Version:  
Question: I'm getting a certificate error when the agent is trying to enrol

Error: fail to enroll: fail to execute request to fleet-server: x509: certificate is valid for i-03d473919919ec12e.elasticlabs.training, not i-0abeb244eea6e0214.elasticlabs.training

I checked the course notes and found nothing relating to certificates

---

<div class="post-metadata">

**Author:** ![rodboothman](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@rodboothman](https://discuss.elastic.co/u/rodboothman)\
**Post date:** [June 5, 2025, 8:52am UTC](https://discuss.elastic.co/t/elastic-security-for-siem-on-demand-lab-1-1-agent-enrolment-error/378877/3 "2025-06-05T08:52:14Z")

</div>

Hi @stephenb and thanks for the warm welcome 🙂

I actually emailed [training@elastic.co](mailto:training@elastic.co) initially and they said they couldn't help and pointed me here!

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [June 5, 2025, 2:03pm UTC](https://discuss.elastic.co/t/elastic-security-for-siem-on-demand-lab-1-1-agent-enrolment-error/378877/4 "2025-06-05T14:03:33Z")

</div>

Apologies

Perhaps that part of the course as that is a very common problem... There are many solutions on this forum to that issue

A quick Google on that I should have gotten you to an answer..

> **[Fleet and Elastic Agent | Elastic Docs](https://www.elastic.co/docs/troubleshoot/ingest/fleet/fleet-elastic-agent)**
>
> This section provides an FAQ and troubleshooting tips to help you resolve common problems with Fleet and Elastic Agent.

`--insecure` flag

Perhaps give that a try

---

<div class="post-metadata">

**Author:** ![rodboothman](https://avatars.discourse-cdn.com/v4/letter/r/f4b2a3/32.png) [@rodboothman](https://discuss.elastic.co/u/rodboothman)\
**Post date:** [June 5, 2025, 3:48pm UTC](https://discuss.elastic.co/t/elastic-security-for-siem-on-demand-lab-1-1-agent-enrolment-error/378877/5 "2025-06-05T15:48:13Z")

</div>

@stephenb : That worked a treat! 🙂
