You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Require server private key only when disk encryption enforcement is turned on, skip FileVault config when enabling disk encryption when macOS MDM is off
Also ensures disk encryption on a per-team basis works as expected.
TODO: set up FileVault if Mac MDM gets enabled after encryption enforcement is enabled.
returnctxerr.New(ctx, "Missing required private key. Learn how to configure the private key here: https://fleetdm.com/learn-more-about/fleet-server-private-key")
1523
-
}
1524
1521
iftm.Config.MDM.EnableDiskEncryption!=*enable {
1522
+
if*enable&&svc.config.Server.PrivateKey=="" {
1523
+
returnctxerr.New(ctx, "Missing required private key. Learn how to configure the private key here: https://fleetdm.com/learn-more-about/fleet-server-private-key")
returnnil, ctxerr.New(ctx, "Missing required private key. Learn how to configure the private key here: https://fleetdm.com/learn-more-about/fleet-server-private-key")
returnctxerr.New(ctx, "Missing required private key. Learn how to configure the private key here: https://fleetdm.com/learn-more-about/fleet-server-private-key")
0 commit comments