Hey everyone, I've installed Fleet on my Windows h...
# general
n
Hey everyone, I've installed Fleet on my Windows host, but I'm getting this error:
ERR run orbit failed error="failed to retrieve enroll secret from Credential Manager: %!w(<nil>)"
It looks like I don't have any FleetDM credentials in my Credential Manager. However, I do have a file named
secret
with my enroll secret. So, why isn't Orbit reading this file to find my secret? Also, how can I manually add the secret to the Credential Manager? Thanks for the help!
m
you are likely hitting this issue - https://github.com/fleetdm/fleet/issues/22687.
n
I don’t think this is the issue, as I had already created a package a while ago. I found a workaround of my first issue by adding a generic Windows credential in the credentials manager. The network field is
com.fleetdm.fleetd.enroll.secret
and the password is the secret key. The user can be anything. However, I’m now facing a new issue during enrollment:
POST /api/fleet/orbit/enroll: Post \"https:///api/fleet/orbit/enroll\": http: no Host in request URL.
Any ideas on how to resolve this? Thanks!