PGP Template Management
Control-M MFT transfers can integrate with your Pretty Good Privacy (PGP) application, which enables you to encrypt or decrypt files on a local host before or after a transfer.
-
To enable PGP integration into Control-M MFT, you must have a PGP application, which supports batch command line operations, installed on the local host.
-
To execute PGP commands, at least one of the endpoints in the job definition must be a File System connection profile.
-
(Windows only) The user defined in the File System connection profile must have Log on as a batch job policy in the Local Security Policy window.
To create a PGP template, see Creating a PGP Template.
Creating a PGP Template
This procedure describes how to create a PGP template, which can be used to define PGP commands in the properties pane.
BMC recommends that you use one of the pre-defined GNU Privacy Guard (GnuPG) or PGP templates supplied by Control-M MFT, which define the command line parameters for these PGP applications.
Begin
-
From the
icon, select Configuration.
The Configuration domain opens.
-
From the
drop-down list, select Plug-ins.
The Plug-ins page appears.
-
Select the File Transfer plug-in.
-
From the Configuration drop-down list, select PGP templates management.
The PGP templates management pane appears.
-
Click
.
The PGP template details pane appears.
-
For each field, type the required value, as described in PGP Template Parameters.
-
Click OK.
The PGP template appears in the PGP templates management pane.
-
Define a File Transfer job and define the PGP attributes in the Commands tab of the Advanced section, as described in File Transfer Commands Attributes.
PGP Template Parameters
The following table lists the PGP template parameters.
Parameter |
Description |
---|---|
Template Name |
Defines the name of the PGP template (30 characters maximum length). |
PGP Executable Full Path |
Defines the location and name of the executable file for the PGP application. |
Exit Code |
Defines the code of a successful PGP operation. |
Recipient |
Determines the name of the recipient that is defined in the encrypt command. |
Passphrase |
Defines the passphrase that is used to decrypt the file. |
Encryption/Decryption Parameters |
Defines the PGP command line parameters for encryption or decryption. You can use any of the following variables:
You must use both $$PGP_INPUT_FILE$$ and $$PGP_OUTPUT_FILE$$ when you define a PGP template. Otherwise, Control-M MFT fails to complete the PGP operation. There are two predefined read-only templates, GnuPG_TEMPLATE and PGP_TEMPLATE, for the GnuPG and PGP utilities respectively. You can duplicate a template and modify it according to your needs. Encrypt GnuPG: -e -r $$PGP_RECIPIENT$$ -o $$PGP_OUTPUT_FILE$$ $$PGP_INPUT_FILE$$ Decrypt GnuPG: -d --batch --passphrase $$PGP_PASSPHRASE$$ -o $$PGP_OUTPUT_FILE$$ $$PGP_INPUT_FILE$$ |