Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fleetctl problems on Windows #39

Closed
zwass opened this issue Nov 14, 2020 · 2 comments · Fixed by #40
Closed

Fleetctl problems on Windows #39

zwass opened this issue Nov 14, 2020 · 2 comments · Fixed by #40
Labels
bug Something isn't working as documented

Comments

@zwass
Copy link
Member

zwass commented Nov 14, 2020

What version of fleet are you using (fleet version --full)?

3.3.0

What operating system are you using?

Windows 10

What did you do?

fleetctl login

What did you expect to see?

Successful login

What did you see instead?

PS C:\Users\zachw> fleetctl login
error verifying that config exists at ~//.fleet/config: mkdir ~\.fleet: The system cannot find the path specified.

The path looks incorrect in this case.

Manually specifying the path results in an additional error:

PS C:\Users\zachw> fleetctl login --config C:\Users\zachw\.fleet\config
error creating Fleet API client handler: loading system cert pool: crypto/x509: system root pool is not available on Windows

It's probably not a super common use case, but let's fix fleetctl to work on Windows.

@zwass zwass added the bug Something isn't working as documented label Nov 14, 2020
@zwass
Copy link
Member Author

zwass commented Nov 14, 2020

@sevickson I'm working on addressing your issue from kolide/fleet#2216.

zwass added a commit to zwass/fleet that referenced this issue Nov 14, 2020
- Properly set the path for the config file on Windows.
- Check for appropriate settings for TLS config.

Fixes fleetdm#39
@sevickson
Copy link
Contributor

Hey @zwass great! Let me know when I can test it.

@zwass zwass closed this as completed in #40 Nov 18, 2020
zwass added a commit that referenced this issue Nov 18, 2020
- Properly set the path for the config file on Windows.
- Check for appropriate settings for TLS config.

Fixes #39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as documented
Development

Successfully merging a pull request may close this issue.

2 participants