Using PGP Encryption in oracle MFT – SOA Suite12C

In Oracle MFT transfers , we have pre processing action like “PGP Encryption”. Now in this post we will see how to create and use PGP encryption keys in MFT.

Before using PGP encryption in MFT , we have to create PGP key using wlst commands.

STEP 1–>

Login to your unix box and navigate to the below path.

Domain_Home\mft\common\bin

Run the wlst.sh

login as: testuser
Using keyboard-interactive authentication.
Password:
#######################################
testuser @localhost:~$ pwd
/export/home/testuser
testuser @localhost:~$ cd /OracleSOA12.2.1/mft/common/bin
testuser @localhost:~$ wlst.sh (in windows machine its wlst.cmd)
Initializing WebLogic Scripting Tool (WLST) …
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands

STEP2–>

Connect to Oracle MFT server with below command.

wls:/offline> connect(“weblogic”,”weblogic?,”t3://localhost:9003?)
Connecting to t3://localhost:9003 with userid weblogic …
Successfully connected to managed Server “mft_server1” that belongs to domain “fmw_domain”.

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

STEP3–> 

Now we have to generate the PGP Keys to create a password-protected PGP key pair.

Use the below wlst command for generating Key.

wls:/offline>generateKeys(‘PGP’, Enter password for key,’directory to generate the pg key’)

It will create two keys pub.asc (Public) and secret.asc (Private)

STEP4–>

Now we have to import the PGP key pair to our MFT server.

wls:/offline>importCSFKey(‘PGP’, ‘PUBLIC’, ‘My PGP Alias Name’, ‘complete location/pub.asc’)
wls:/offline>importCSFKey(‘PGP’, ‘PRIVATE’, ‘My PGP Alias Name’, ‘complete location/secret.asc’)

STEP5–>

Now login to your MFT console and go to Administration tab and click on keystores.

In PGP keystores, enter the password which you have used while generating the PGP key and SAVE.

That’s all, now you can use the PGP keys in your MFT transfers.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s