Add fleet server self signed certificate error

I'm trying to install Fleet with Kabana's Quick Start Wizard.
When I run the installer:

./elastic-agent install --fleet-server-es=https://192.168.80.10:9200 --fleet-server-service-token=AAE....MQQ --fleet-server-policy=fleet-server-policy

The installation fails with error:

{"log.level":"info","@timestamp":"2022-09-26T15:30:18.523Z","log.origin":{"file.name":"cmd/enroll_cmd.go","file.line":792},"message":"Fleet Server - Error - x509: certificate signed by unknown authority","ecs.version":"1.6.0"}
Error: fleet-server failed: context canceled

All certificates are those generated by Elastic therefore self-signed.
How can i ignore unknown authority?

Many Thanks

Did you try adding --insecure at the end of the above command?

Yes, of course. I tried it but the same result.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.