IBM Sterling: Guide to Using PGP Native for Secure Data Exchange on IBM Sterling Filegateway

From Wiki
Revision as of 20:49, 26 September 2023 by Ebasso (talk | contribs)

This guide will walk you through the basics of using IBM Sterling File Gateway with native PGP to create and manage encryption keys, encrypt and decrypt files, and exchange secure messages.


This guide is complemented by the following articles:


Getting Started with Sterling File Gateway

1. Configure PGP on Sterling File Gateway Community

In the SFG UI in the main menu go to Participants > Communities

Click on the add button.

Add a community, example Company Community

Fill out all relevant information for this community:

  • Secret key for PGP signing: sterlingb2bserver-company-com
  • Secret key for PGP decrypting: sterlingb2bserver-company-com

Click Next and Finish.


2. Create a RCT for PGP Decrypt

3. Create a RCT for PGP Encrypt



Send Encrypted Files

In this example, the Sistem01 system will send a file to a business partner Company01.

Sterling File Gateway will encrypt the file with the Company01 public key.

For our test we are not using protocols, we send to the Mailbox only.

To do this we will need:

1) Create partner System01 and partner Company01

2) Import the public key of partner Company01 into Sterling B2B.

See IBM Sterling: Guide to Using PGP Native for Secure Data Exchange on IBM Sterling B2Bi#Importing_Public_Keys_from_Partners

3) Associate the imported public key with the Company01 partner profile

4) Create the channel between System01 and Company01, using the template W_PGP_Encrypt

To test, simply send a MyFileName.txt file to the user

Create a Channel for Encrypt

  • Template Name: W_PGP_Encrypt
  • Producer: System01
  • Consumer: Company01
  • Mailbox Path: /System01/PGP_Encrypt



Receive Encrypted File and Decrypt file

In this example, the Company02 system will send a file to a partner System02.

Sterling File Gateway will decrypt the file with the Sterling Private key.

For our test we are not using protocols, we send to the Mailbox only.

To do this we will need:

1) Create partner System02 and partner Company02

2) Export the public key of partner sterlingb2bserver-company-com into Sterling B2B, and send to Company02

See IBM Sterling: Guide to Using PGP Native for Secure Data Exchange on IBM Sterling B2Bi#isting_and_Exporting_Your_Public_Keys

3) Create the channel between Company02 and System02, using the template W_PGP_Decrypt

To test, encrypt file myFileName.txt. This will generate file myFileName.txt.gpg. Using Company02, login in myFilegateway and upload file to mailbox /PGP_Decrypt


Create a Channel for Decrypt

  • Template Name: W_PGP_Decrypt
  • Producer: Company02
  • Consumer: System02
  • Mailbox Path: /Company02/PGP_Decrypt

Ver também