Hi all, I’m having 2 issues I was hoping someone c...
# kolide
d
Hi all, I’m having 2 issues I was hoping someone could help with. The first is that I’m using a letsencrypt cert on my fleet setup but if I run the launcher without the
--insecure
flag I get
x509: certificate signed by unknown authority
. The letsencrypt root cert has explicit trust in my keychain so I’m not sure why I’m seeing this error. The second issue is that when I try to target any other platform with the package-builder I get the following error:
Copy code
could not generate packages: version detection: Failed to exec. Perhaps -- Can't autodetect while cross compiling. (): run command /var/folders/0l/2f0_fh4905l8n9vsf56g08gh2c9r19/T/package.packageRoot626913343/usr/local/launcher/bin/launcher [-version], stderr=: fork/exec /var/folders/0l/2f0_fh4905l8n9vsf56g08gh2c9r19/T/package.packageRoot626913343/usr/local/launcher/bin/launcher: exec format error
The command I’m running is:
Copy code
./build/package-builder make --hostname=<http://fleet.example.com|fleet.example.com> --enroll_secret=mysecret --extension_version nightly --output_dir=./build/pkg --targets=linux-systemd-deb
s
Package builder can’t detect what version of launcher it’s packaging. Add an appropriate
--package_version
flag
d
On to the next issue. Is there a way to control which directory the package builder has docker mount into the container? Docker for mac forces you to explicitly share directories and I’d rather not whitelist
/var/folders
. I tried using the
-cache_dir
flag but that seems to be only where the osquery and launcher binaries are cached.
d
mind blown
Thank you so much @seph!