sdmcreatemdmcertreq (creating an MDM signed-certificate request file)
This command creates an MDM signed-certificate request file when managing iOS devices.
- Organization of this page
Functionality
This command creates an MDM signed-certificate request file. Use this command when managing iOS devices. The name of the file created by this command is plist_encoded (or plist.xml if -x is specified).
Execute this command on the smart device manager or the communication server.
Format
sdmcreatemdmcertreq -a alias-name -p password -f name-of-folder-for-storing-signature-files[ -o file-destination][ -x]
Arguments
- -a alias-name
-
Specify the alias name (within 260 bytes) that was specified when the MDM certificate request file was created.
- -p password
-
Specify the password (within 260 bytes) that was specified when the MDM certificate request file was created.
- -f name-of-folder-for-storing-signature-files
-
Specify the absolute path (within 260 bytes) to the folder that stores a file used to sign the MDM certificate request file.
- -o file-destination
-
Specify the absolute path (within 260 bytes) to the output destination of the MDM signed-certificate request file.
- -x
-
Specify this argument to output the MDM signed-certificate request file in XML (non-encoded) format.
Storage location
JP1/ITDM2 - SDM (Smart Device Manager)-installation-folder\mgr\bin
Execution permissions
Administrator permissions (this command is executed from the administrator's console if the Windows UAC function is enabled)
Notes
Multiple instances of this command cannot be executed simultaneously.
Return values
Return value |
Description |
---|---|
0 |
The command finished normally. |
11 |
The format for specifying the command arguments is invalid. |
14 |
The file does not exist, or you do not have permission to access it. |
15 |
A file access error occurred, or the disk does not have sufficient capacity. |
18 |
Another command is being executed. |
70 |
The alias name is not correct. |
71 |
The password is not correct. |
150 |
Other error occurred. |
Example
-
The following shows an example of using the command to create the MDM signed-certificate request file (plist_encoded).
sdmcreatemdmcertreq -a mdmalias -p mdmpass -f C:\work -o C:\temp
-
The following shows an example of using the command to output the created MDM signed-certificate request file in XML format (plist.xml).
sdmcreatemdmcertreq -a mdmalias -p mdmpass -f C:\work -o C:\temp -x
Related Topics