when I'm trying to connect osquery agent to fleet I get that error msg:
"W0803 08
4550.922413 77924 tls_enroll.cpp:101] Failed enrollment request to
https://localhost:8080/api/osquery/enroll (Request error: certificate verify failed) retrying..."
it happens after i run that command:
sudo /usr/bin/osqueryd --enroll_secret_path=/var/osquery/enroll_secret --tls_server_certs=/var/osquery/fleet.pem --tls_hostname=localhost:8080 --host_identifier=instance --enroll_tls_endpoint=/api/osquery/enroll --config_plugin=tls --config_tls_endpoint=/api/osquery/config --config_refresh=10 --disable_distributed=false --distributed_plugin=tls --distributed_interval=3 --distributed_tls_max_attempts=3 --distributed_tls_read_endpoint=/api/osquery/distributed/read --distributed_tls_write_endpoint=/api/osquery/distributed/write --logger_plugin=tls --logger_tls_endpoint=/api/osquery/log --logger_tls_period=10
its fleet 3.5.1 if it matters.