Using the Docker install from https://fleetdm.com/try-fleet is there a good day to incorporate Let's Encrypt SSL certificates? I was able to get a test Windows host to connect using ~/.fleetctl/fleetctl package --insecure --type=msi --enable-scripts --fleet-desktop --fleet-url=https://my.domain.com:8412 --enroll-secret=[...] but don't want to use "--insecure" for hosts in the wild.
k
Kathy Satterlee
05/16/2025, 7:20 PM
Hi @A p u! If you're using a self-signed cert, you'll need to use -
-fleet-certificate
to pass the full certificate chain to the agent.
a
A p u
05/16/2025, 7:35 PM
Hoping not to use a self-signed cert but rather have certbot get a Let's Encrypt certificate and manage renewals.
A p u
05/16/2025, 7:38 PM
Is this just a matter of having certbot run outside of docker and pointing the server_cert and server_key to them?
k
Kathy Satterlee
05/16/2025, 8:22 PM
Sorry about that @A p u, I must have misunderstood the question. Yes, you should be able to set up certbot to set up the certificate, then you'd need to put it somewhere where the Fleet container can see it.