How to run fleet server in insecure mode?

Im running fleet server in docker with this env

--env FLEET_ENROLL=1\
--env FLEET_SERVER_ENABLE=1\
--env FLEET_SERVER_ELASTICSEARCH_HOST=$(ELASTICSEARCHHOST)\
--env FLEET_SERVER_SERVICE_TOKEN=$(SERVICETOKEN)\
--env FLEET_SERVER_POLICY_ID=$(POLICYID)\
--env FLEET_SERVER_INSECURE_HTTP=true\
--env FLEET_INSECURE=true\

but i have allways the error:

fleet-server--7.16.2[]: State changed to FAILED: Error - x509: certificate signed by unknown authority - type: 'ERROR' - sub_type: 'FAILED'

was missing this one !!

FLEET_SERVER_ELASTICSEARCH_INSECURE=true

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