This document outlines configuration of the DEP device syncing service. This information applies to classic DEP as well as Apple School Manager and Apple Business Manager.
commandment-dep.cer
file you just downloaded, using the Upload Key button.Make a GET request to /dep/certificate/download
to download the initial DEP Public Key. The public key is
generated on request, and stored in the database with name COMMANDMENT-DEP
.
Perform the manual process of Adding an ASM/ABM MDM Server, and uploading the certificate you retrieved in step 1.
Download the DEP token from ASM/ABM, which will be a file ending in _smime.p7m
.
Upload the file to /dep/stoken/upload
as multipart/form-encoded with the file field of file, the equivalent
curl command line would be:
curl -F 'file=@/path/to/_smime.p7m' https://commandment.local/dep/stoken/upload
The DEP token should be decrypted, and devices should start appearing when the next DEP sync happens or when the server is restarted. For convenience, the decrypted token is provided in the result of this request as a json payload, structured like so:
{
"access_secret": "AS_1234",
"access_token": "AT_1234",
"access_token_expiry": "2019-10-02T00:00:00Z",
"consumer_key": "CK_1234",
"consumer_secret": "CS_1234"
}
Footnotes
[1] | Apple Business Manager |
[2] | Apple School Manager, available at https://school.apple.com |