ActiveTransfer Server 10.15 | webMethods ActiveTransfer Documentation | Administering ActiveTransfer Server | Managing Actions | Task Configuration Definitions | Encrypt Task Configuration
 
Encrypt Task Configuration
You can configure the following properties for the Encrypt file operation task:
Field
Description
Task name
Type a unique name for the task.
File filter
Type the name of the file if you want to filter files with specific names. By default, ActiveTransfer Server considers all files. If you want to use regular expression, specify a valid regular expression in File filter and select Use regular expression option.
Note:
You can use wildcard characters to filter the file names. For example, type *.zip to trigger the action only when ZIP files are uploaded or downloaded. To trigger an action based on a name string in the ZIP files, use the name string in the File filter box, preceded and followed by wildcard characters. For example, type *invoice*.zip to trigger the action based on the file URLs, when ZIP files containing the character string invoice in their file names are uploaded or downloaded. If you define a File filter for a task, the task acts only on files that are filtered out.
Few examples for regular expressions are:
*^(?!.*purchaseorder).*$: Excludes files with the file URL containing purchaseorder.
**/out/.*: Include files with the file URL containing the folder out.
*^abc(.*)123$: Includes anything that starts with abc and ends with 123. Matches abc123, abcxyz123, but not abcxyz123def.
*NEW-((*.doc)|(*_backup_*)): Includes anything starting with NEW- that either ends in .doc, or is followed by the string _backup_.
Encrypt with Public PGP Key alias
Type the certificate alias for the public key file.
Add signature
Type the certificate alias for the private key file.
ASCII-Armor
Select this option to wrap PGP files in BASE64-encoded format to make them more secure when emailing them.
Delete original file
Select this option to delete the original file and retain only the encrypted files.
Encrypt with integrity check
Select this option to configure Modification Detection Code (MDC) to decrypt files that are encrypted with ActiveTransfer's action.
Execute error task
Select this option to execute an error task if the file operation fails.
An encrypt task encrypts files passed on from the previous task. ActiveTransfer supports only PGP- based file encryption. The encrypted file is saved with the name Original-filename.PGP. After the successful execution of an encrypt task, the source folder location contains both, the original files and the corresponding encrypted files, but only the encrypted files are passed on to the subsequent task for processing. If you select Delete original file, the original files are deleted. If you configure a move task after an encrypt task, the move task moves the encrypted file and not the original file.
Note:
You need to migrate all assets to certificate IDs using ActiveTransfer built-in service wm.mft.admin:updateFileBasedCertToDB before exporting and importing to higher environments, if these assets have any configurations pointing to a filepath as created by using Software AG Designer. Run the wm.mft.admin:updateFileBasedCertToDB service, to scan all the assets for certificates and store them into a database linking them to the assets using certificate IDs. If you later want to revert this behavior, run the wm.mft.admin:updateCertFromDBToFile service.