Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix internal/pkg/agent/cmd.TestEnroll (elastic#5741)
fix the mock fleet server used on internal/pkg/agent/cmd.TestEnroll was using the root certificate instead its own TLS certificate. As soon as elasitc-agent-libs is updated to v1.12.0+ it becomes a problem as the root certificates do not come with IPs and SANs anymore. Therefore the client cannot verify the certificate indeed belongs to the server.
- Loading branch information