Title
#general
k

Karim Chowdhury

04/25/2019, 5:22 AM
Hello, how I can setup isquery to communicate with this script- https://github.com/facebook/osquery/blob/master/tools/tests/test_http_server.py
manu

manu

04/25/2019, 5:29 AM
launch ur server: python ./tools/tests/test_http_server.py --tls --persist --cert ./tools/tests/test_server.pem --key ./tools/tests/test_server.key --use_enroll_secret --enroll_secret ./tools/tests/test_enroll_secret.txt 8080 then launch osqueryd with appropriate params: osqueryd.exe" --verbose --ephemeral --disable_database \ --tls_hostname localhost:8080 \ --tls_server_certs ./tools/tests/test_server_ca.pem \ --config_plugin tls \ --config_tls_endpoint /config \ --logger_tls_endpoint /logger \ --logger_plugin tls \ --enroll_tls_endpoint /enroll \ --enroll_secret_path ./tools/tests/test_enroll_secret.txt -allow_unsafe Just need to make sure that paths are all proper. Just copy pasted this from my notes.
5:30 AM
It's basically like pointing ur config to this local test server