Top
Systemwalker Desktop Patrol Reference Manual
FUJITSU Software

1.36 sign_csr.sh (Creating MDM Certificate Request File)

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
secretKeyPassphraseOfSigningCert(1)
secretKeyPassphraseOfSigningCert(2)
signingCert
appleIncIntermediateCert
appleIncRootCert
secretKeyPassphraseOfMdmCert
SetupFileForMdmCertRequestFileCreation
[outputDir]

Option

secretKeyOfSigningCert

Specifies the file name of the secret key created in "Advance Preparation" in the Installation Guide, using the absolute path or relative path.

secretKeyPassphraseOfSigningCert(1)

Specifies the passphrase specified when writing the secret key in "Advance Preparation" in the Installation Guide.

secretKeyPassphraseOfSigningCert(2)

Specifies the passphrase required for converting the secret key format.

signingCert

Specifies the file name of signing certificates issued by Apple Inc., using the absolute path or relative path.

appleIncIntermediateCert

Specifies the file name of intermediate certificates issued by Apple Inc., using the absolute path or relative path.

appleIncRootCert

Specifies the file name of the root certificate issued by Apple Inc., using the absolute path or relative path.

secretKeyPassphraseOfMdmCert

Specifies the secret key passphrase of an MDM certificate. This passphrase is required when converting the format of MDM certificates.

SetupFileForMdmCertRequestFileCreation

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.

outputDir

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

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.