i-effect Manual

Usage of the OFTP2 Security Features

In this last step of the chapter OFTP2, the OFTP2 security features are introduced. For this, similar to the chapter Extend Communication by SSL, a keystore is stored in the certificate management for sending and receiving. But this time with the purpose *OFTP.

Step 1 - Entering the Keystore in the certificate management (for OFTP *RECEIVE)

Open the menu item communication → profiles. Right-click on the corresponding server profile and select manage certificates in the context menu. 

image2017-9-20_9-27-39.png

Now click on the plus sign to add a certificate to the selected profile.

image2017-9-20_9-37-21.png

Now enter the corresponding data (use here the purpose *OFTP) and save the dialog. 

OFTP2_server_keystore.png
Now another line appears with the purpose *OFTP. 

image2017-9-20_9-41-25.png

Step 2 - OFTP2 Client-Zertifikat einrichten und sichere Authentifizierung aktivieren

Open the menu item Communication → profiles. Select the corresponding client profile (*SEND) and right-click to open the context menu and then select manage certificate. 

image2017-9-20_9-43-59.png

Now click on the plus sign to add a certificate to the selected profile.
image2017-9-20_9-45-43.png


Select *OFTP as the intended use and enter the relevant data for your trust store. Then confirm by clicking Save.

OFTP2_server_truststore.png

Step 3 - Activating secure OFTP2 authentication

Go to the menu item Communication → Profiles. Select the appropriate client profile (*SEND) and open the context menu by right-clicking, then select Edit entry.
image2017-9-20_9-52-6.png

Scroll down until you reach the Secure Authentication setting and activate it by ticking the box. Then click Save.
image2017-9-20_11-13-16.png

Step 4 – Secure sending and receiving

To enable secure transmission, add the following commands to the STROFTP2 command:

  • SIGNNOTIF(*YES)

  • SECLEVEL(*BOTH)

The command could then look something like this:

STROFTP2 PARTNER('Partner') PROFILE(1) FRMPATH('/tmp/test.txt') SIGNOTFI(*YES) SECLEVEL(*BOTH)
image2017-9-20_11-22-17.png

Further information on the STROFTP2 command can be found here.