Title
#kolide
j

Jose

04/22/2020, 4:07 PM
Hi I'm trying to connect Osquery on (windows 10) to my fleet on (ubuntu 18) but I'm getting this error ( tls handshake error ) any ideas ? #kolide
Erich Stoekl

Erich Stoekl

04/22/2020, 10:50 PM
Sounds like your TLS cert on the windows 10 osquery box does not match the one your Fleet server is using.
10:51 PM
So your fleet server is set up with .crt and .key files. Make sure your osquery agents are also using that same .crt file.
j

Jose

04/23/2020, 7:16 AM
@Erich Stoekl I took the .pem file + enrollment key from the server and put them in the osquery file
Erich Stoekl

Erich Stoekl

04/23/2020, 9:18 PM
the osquery agent needs a cert, not a private key. can you put the crt file on the osquery agent?
j

Jose

04/23/2020, 9:25 PM
@Erich Stoekl Actually it just worked with the private key.
😮 1
Erich Stoekl

Erich Stoekl

04/23/2020, 9:26 PM
If that's sufficient for you, great. I wouldn't recommend storing the private key on the osquery agents though.
👍 1