Zach Zeid
10/02/2020, 3:30 PMdecorators
over to yaml?manikant singh
10/03/2020, 7:16 AMDiego Erazo
10/03/2020, 12:34 PM/ usr / bin / fleet serve \
--mysql_address = 127.0.0.1: 3306 \
--mysql_database = kolide \
--mysql_username = root \
--mysql_password = toor \
--redis_address = 127.0.0.1: 6379 \
--server_cert = / tmp / server.cert \
--server_key = / tmp / server.key \
--logging_json
How can i add my configuration to port 443?Slackbot
10/05/2020, 1:34 AMdarren
10/06/2020, 10:21 AMzwass
fritz
10/08/2020, 4:56 PMzwass
jby
10/09/2020, 6:37 AMJulian Scala
10/09/2020, 3:28 PMvladu
10/10/2020, 2:03 AMkoba
10/12/2020, 2:41 PMosqueryd
runs fine on my host. But when i try to launch via launcher
i'm getting this error: sudo ./launcher --hostname=fleetserver:443 --root_directory=/var/osquery --enroll_secret=KEY --debug
``````grant seltzer
10/12/2020, 4:18 PMkoba
10/13/2020, 7:04 AMDan Achin
10/13/2020, 4:17 PME-Dawg
10/14/2020, 6:31 PMosqueri
. I can connect to the web interface from both machines.
I have the Enroll Secret on the mac in /etc/osquery/enrollment_secret
I have downloaded the server.pem certificate onto the mac, and copied it to /var/osquery/server.pem
, also I have added it to the System in Keychain Access and set to Always Trust
I am attempting to enroll from the mac with this command:
sudo osqueryd --enroll_secret_path=/etc/osquery/enrollment_secret --tls_server_certs=/var/osquery/server.pem --tls_hostname=192.168.1.115:8080 --host_identifier=elliott_macbookpro --enroll_tls_endpoint=/api/v1/osquery/enroll --config_plugin=tls --config_tls_endpoint=/api/v1/osquery/config --config_refresh=10 --disable_distributed=false --distributed_plugin=tls --distributed_interval=3 --distributed_tls_max_attempts=3 --distributed_tls_read_endpoint=/api/v1/osquery/distributed/read --distributed_tls_write_endpoint=/api/v1/osquery/distributed/write --logger_plugin=tls --logger_tls_endpoint=/api/v1/osquery/log --logger_tls_period=10
When I run that, I get the following error:
W1014 14:15:37.995653 377294272 tls_enroll.cpp:76] Failed enrollment request to <https://192.168.1.115:8080/api/v1/osquery/enroll> (Request error: certificate verify failed) retrying...
The server stdout shows:
2020/10/14 14:15:37 http: TLS handshake error from 192.168.1.104:54237: local error: tls: bad record MAC
Any pointers as to how to get the handshake to succeed?demonbhao
10/15/2020, 3:31 AMdefensivedepth
10/15/2020, 12:33 PMDan Achin
10/15/2020, 9:38 PMdemonbhao
10/19/2020, 3:41 AMfritz
10/19/2020, 3:35 PMDallas Bobryk
10/19/2020, 4:07 PMEsteban
10/19/2020, 6:39 PMdefensivedepth
10/19/2020, 8:44 PMcaller=level.go:63 level=info caller=extension.go:136 msg="extension interrupted" err="enrolling host: query enrollment details, (even with retries): done trying: query enrollment details: could not query the extension manager client: write field stop error: The pipe is being closed."
Any ideas?Esteban
10/20/2020, 4:22 PMdemonbhao
10/21/2020, 8:47 AMdemonbhao
10/21/2020, 9:57 AMWinMordekaiser
10/22/2020, 3:19 AMdemonbhao
10/22/2020, 7:26 AMMiguel
10/22/2020, 10:51 AMfleetctl - version 3.2.0
branch: master
revision: 07534c766beb7bf9a022d29572d88493ecef8f7c
build date: 2020-10-08T19:25:24Z
build user: zwass
go version: go1.15
fleet version
fleet version 3.2.0
When I try to make a simple (in the same server):
fleetctl login
I get this error:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0xa4d1c9]
goroutine 1 [running]:
<http://github.com/kolide/fleet/server/service.(*Client).url(...)|github.com/kolide/fleet/server/service.(*Client).url(...)>
/Users/zwass/dev/fleet/server/service/client.go:128
<http://github.com/kolide/fleet/server/service.(*Client).doWithHeaders(0x0|github.com/kolide/fleet/server/service.(*Client).doWithHeaders(0x0>, 0xc0c65a, 0x4, 0xc1934b, 0x14, 0xb7a320, 0xc000440000, 0xc00033c780, 0x5, 0x2000, ...)
/Users/zwass/dev/fleet/server/service/client.go:87 +0x69
<http://github.com/kolide/fleet/server/service.(*Client).Do(0x0|github.com/kolide/fleet/server/service.(*Client).Do(0x0>, 0xc0c65a, 0x4, 0xc1934b, 0x14, 0xb7a320, 0xc000440000, 0x4824fc, 0x18205e0, 0xc0000f2280)
/Users/zwass/dev/fleet/server/service/client.go:106 +0x19b
<http://github.com/kolide/fleet/server/service.(*Client).Login(0x0|github.com/kolide/fleet/server/service.(*Client).Login(0x0>, 0x10b6aa8, 0x1, 0x10b6aa8, 0x1, 0x0, 0x0, 0x0, 0x0)
/Users/zwass/dev/fleet/server/service/client_sessions.go:18 +0xfe
main.loginCommand.func1(0xc0000cef20, 0x0, 0xc0000cef20)
/Users/zwass/dev/fleet/cmd/fleetctl/login.go:70 +0xc6
<http://github.com/urfave/cli.HandleAction(0xb1f700|github.com/urfave/cli.HandleAction(0xb1f700>, 0xc0001eafa0, 0xc0000cef20, 0xc0000a9800, 0x0)
/Users/zwass/dev/go/pkg/mod/github.com/urfave/cli@v1.20.0/app.go:490 +0x82
<http://github.com/urfave/cli.Command.Run(0xc0d5c9|github.com/urfave/cli.Command.Run(0xc0d5c9>, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc1a218, 0x15, 0xc3dc2d, ...)
/Users/zwass/dev/go/pkg/mod/github.com/urfave/cli@v1.20.0/command.go:210 +0x9fb
<http://github.com/urfave/cli.(*App).Run(0xc000204b60|github.com/urfave/cli.(*App).Run(0xc000204b60>, 0xc00009a020, 0x2, 0x2, 0x0, 0x0)
/Users/zwass/dev/go/pkg/mod/github.com/urfave/cli@v1.20.0/app.go:255 +0x768
<http://github.com/urfave/cli.(*App).RunAndExitOnError(0xc000204b60)|github.com/urfave/cli.(*App).RunAndExitOnError(0xc000204b60)>
/Users/zwass/dev/go/pkg/mod/github.com/urfave/cli@v1.20.0/app.go:276 +0x53
main.main()
/Users/zwass/dev/fleet/cmd/fleetctl/fleetctl.go:44 +0x828
Any clue about how to handle this? I cannot find anythin in github/inet.
Thanks for your help.
M.