Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Cert pool error running 'fleetctl login' on Windows #2216

Open
sevickson opened this issue Mar 31, 2020 · 1 comment
Open

Cert pool error running 'fleetctl login' on Windows #2216

sevickson opened this issue Mar 31, 2020 · 1 comment

Comments

@sevickson
Copy link

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

2.6.0

What operating system are you using?

Windows

What did you do?

Try to login to my fleet instance with fleetctl running on Windows

What did you expect to see?

Expected to login

What did you see instead?

fleetctl login --config config.conf
error creating Fleet API client handler: loading system cert pool: crypto/x509: system root pool is not available on Windows

@zwass
Copy link
Contributor

zwass commented Oct 29, 2020

I was just looking through this code and think I may see a workaround:

Use fleetctl config set rootca set to a path to the PEM file containing the Fleet server certificate.

It may be that we need to just expose a better error message to the user if there is no good way to load the system cert pool.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants