Description
Execute this script on Mac OS.
The MDM certificate request file and secret key for the MDM certificate will be generated automatically.
Syntax
sign_csr.sh | secretKeyOfSigningCert |
Option
Specifies the file name of the secret key created in "Advance Preparation" in the Installation Guide, using the absolute path or relative path.
Specifies the passphrase specified when writing the secret key in "Advance Preparation" in the Installation Guide.
Specifies the passphrase required for converting the secret key format.
Specifies the file name of signing certificates issued by Apple Inc., using the absolute path or relative path.
Specifies the file name of intermediate certificates issued by Apple Inc., using the absolute path or relative path.
Specifies the file name of the root certificate issued by Apple Inc., using the absolute path or relative path.
Specifies the secret key passphrase of an MDM certificate. This passphrase is required when converting the format of MDM certificates.
Specifies the setup file name for creating MDM certificates, using the absolute path or relative path. Refer to "2.9 Setup File for MDM Certificate Request File Creation" for details.
Specifies the output directory of MDM certificate request files and MDM certificate secret keys, using the absolute path or relative path.
The files that are output are "PushCertWebRequest" (MDM certificate request file) and "keyfile.pem" (MDM certificate secret key).
If this option is omitted, the files will be output to the current directory.
Return value
0: Ended normally
2: Ended abnormally
Command location
The following folder in the Systemwalker Desktop Patrol DVD-ROM:
dvdRomDrive:\utilities\tool\iOS\sign_csr.sh |
Note
You must create the MDM certificate request file creation setup file before executing this script.
You must copy this script and the MDM certificate request file creation setup file together on Mac OS. After copying, add the execution privileges to this script.
Example
Execute the MDM certificate request file creation script.
sign_csr.sh VendorPKey.p12 password! password! mdm.cer appleWWDRCA.cer AppleIncRootCertificate.cer password! req.config /Users/dtpmac/Desktop/work |
Execution result/output format
If processing is successful, the following message will be output:
Command Succeeded |
If processing fails, an error message will be output. Refer to "3.10 Messages when Creating MDM Certificate Request File" for details.