fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Generic error displayed in UI when trying to add a certificate and the server_private_key isn't set

Open PezHub opened this issue 8 months ago • 3 comments

Fleet version: 4.66.0 in progress

Web browser and operating system: N/A


💥  Actual behavior

When trying to add a DigiCert, NDES, or Custom SCEP cert in the Fleet UI without the server_private_key set, user is presented with a generic error message instead of this one

🧑‍💻  Steps to reproduce

  1. Start your Fleet server without a private key
  2. Try to add a Certificate (DigiCert, NDES, or Custom)
  3. Observe error displayed vs API response

🕯️ More info (optional)

Image

PezHub avatar Mar 27 '25 18:03 PezHub

we have a similar error for when trying to enable disk encryption without the private key set FYI

Image

PezHub avatar Mar 27 '25 18:03 PezHub

Hey @ghernandez345 , the error looks good now but the Learn more link is broken. It resolves to https://learn-more-about/fleet-server-private-key instead of https://fleetdm.com/learn-more-about/fleet-server-private-key

Image

PezHub avatar Mar 30 '25 18:03 PezHub

Confirmed link now resolves to the correct page

PezHub avatar Mar 31 '25 18:03 PezHub

Key not set, error blooms, Fleet's gentle guidance looms, In cloud city rooms.

fleet-release avatar Apr 24 '25 21:04 fleet-release