https://github.com/osquery/osquery logo
Title
f

Freddy Al

05/28/2022, 8:26 PM
Hey yall I got a question, I keep on getting this error message anytime I try to add an arbitrary client to the main server.
W0528 16:25:28.241241 12361 tls_enroll.cpp:101] Failed enrollment request to <https://fleet.freddyal.com:443/api/osquery/enroll> (Request error: Failed to connect to <http://fleet.freddyal.com:443|fleet.freddyal.com:443>: Connection timed out) retrying...
m

Mystery Incorporated

05/29/2022, 4:40 PM
Is it not meant to be /api/v1/osquery ??? Looks like you’re missing the v1 in the url
m

Manish

05/30/2022, 6:56 AM
Is it because your https certificate is invalid?
Clients do not connect to insecure connections.
m

Mystery Incorporated

05/31/2022, 8:07 AM
Nah that just means it's self signed and they should be supplying fleet.pem to the clients to trust it
f

Freddy Al

06/02/2022, 9:41 PM
It was my ssl cert giving me issues. One thing I know is that you have to convert an ssl from a pem to crt type . Like those for letsencrypt are a good example