I tried to install and enroll agent into elastic
sudo ./elastic-agent install --url=https://202.40.192.161:8220 --enrollment-token= bjBib0VKY0J…
1st enrollment attempt failed, retrying enrolling to URL: https://202.40.192.161:8220/ with exponential backoff (init 5s, max 10m0s)","ecs.version":"1.6.0"}
Error: fail to enroll: fail to execute request to fleet-server: x509: certificate signed by unknown authority
Do I need to setup ssl cert in elasticsearch server ? how to place the ssl cert in agent server ?
My agent is 9.0.1 (elastic-agent-9.0.1-linux-x86_64)