
PGP encryption in Sterling File GatewayWe already presented a scenario where a file is PGP-decrypted by Sterling File Gateway (SFG). For an introduction to PGP, its implementation in this scenario and additional configuration stuff please refer to the article: PGP Encryption scenario The first three steps are the same as in the decryption scenario, please refer to the above article to get the details of these steps:
1) Create PGP Server Profile AFTPGPProfile and configure gpg 2) Configure PGPCmdlineService Command Line Adapter 2 service
4) Create producer trading partner gwsProvider2:
5) Create consumer trading partner gwsConsumer2
The above key id is found in the output of the command: In summary we have the following configuration for partner gwsConsumer2:
6) Create a Routing Channel Template
7) Create the Routing Channel In SFG go to Routes > Channels and create a new channel. Select Routing Channel Template: gws_PGP_Encrypt Select Producer: gwsProvider2 Select Consumer: gwsConsumer2
8) Running the encryption scenario We use a FileZilla Client to put a plain text file in mailbox gwsProvider2. For transferring the file to the mailbox gwsProvider2 the FTP server adapter in ISBI needs to be enabled. The FileZilla Client will connect to the port of the FTP server adapter. The plain text file needs then to be put to the mailbox gwsProvider2:
|