diff --git a/server/service/apple_mdm.go b/server/service/apple_mdm.go index 031c6170c2..171604d137 100644 --- a/server/service/apple_mdm.go +++ b/server/service/apple_mdm.go @@ -587,7 +587,7 @@ func additionalDigiCertValidation(contents string, digiCertVars *digiCertVarsFou } } if len(foundCAs) < len(digiCertVars.CAs()) { - return &fleet.BadRequestError{Message: "Fleet variables $FLEET_VARS_DIGICERT_PASSWORD_ and $FLEET_VARS_DIGICERT_DATA_" + + return &fleet.BadRequestError{Message: "Fleet variables $FLEET_VAR_DIGICERT_PASSWORD_ and $FLEET_VAR_DIGICERT_DATA_" + " can only be present in 'com.apple.security.pkcs12' profiles and must match the Password and PayloadContent fields in the" + " profile exactly"} }