Installing OpenSSL Generating OpenSSL Server Key and Certificate

4-84 Oracle Fusion Middleware Users Guide for Technology Adapters

4.4.3.3.3 Importing the Server Key and Certificate Into FileZilla Server

To import the server key and certificate into FileZilla, you must perform the following steps: 1. Open a FileZilla Server interface from your Windows Start menu.

2. Click Edit, and then click Settings.

The FileZilla Server Options dialog is displayed.

3. Click SSLTLS settings.

4. Enter the server key and certificate details as shown in Figure 4–46 . Figure 4–46 The FileZilla Server Options Dialog

4.4.3.3.4 Converting the Server Key From PEM to PKCS12 Format

You must convert the server key and the server certificate from the PEM format to the PKCS12 format as the Oracle FTP Adapter does not recognize the PEM format. To convert the server key and certificate to the PKCS12 format, you must perform the following steps: 1. Open the command prompt and browse to the OpenSSL\bin directory.

2. Run the following command:

openssl pkcs12 -export -out mykeyz.p12 -in mycert.pem -inkey mykey.pem The command output is as follows: C:\OpenSSL\binopenssl pkcs12 -export -out mykeyz.p12 -in mycert.pem -inkey mykey.pem Loading screen into random state - done Enter pass phrase for mykey.pem: Enter Export Password: Note: In the Key password field, you must use the PEM pass phrase generated in Step 3 of Section 4.4.3.3.2, Generating OpenSSL Server Key and Certificate. Oracle JCA Adapter for FilesFTP 4-85 Verifying - Enter Export Password: 3. Enter a PEM pass phrase when prompted. This is the pass phrase that you created while generating OpenSSL server key and certificate in Section 4.4.3.3.2, Generating OpenSSL Server Key and Certificate. 4. Enter an export password for the PKCS12 file. 5. Re-enter the export password for verification. 6. Enter the requested details. The mykeyz.p12 file is generated in the OpenSSL\bin directory. 7. Copy the mykeyz.p12 file to the managed Oracle WebLogic Server instance running the Oracle FTP Adapter. For example, scratchuserprivatemykeyz.p12

4.4.3.3.5 Configuring Oracle FTP Adapter Deployment Descriptor to Use the New Key

You must perform the following steps to configure the Oracle FTP Adapter deployment descriptor: 1. Navigate to http:servername:portnumberconsole. 2. Use the required credentials to open the home page of the Oracle WebLogic Server Administration Console.

3. Select Deployments in the Domain Structure pane.

The Oracle WebLogic Server Administration Console - Summary of Deployments page is displayed.

4. Click FtpAdapter.

The Oracle WebLogic Server Administration Console - Settings for FtpAdapter page is displayed.

5. Click the Configuration tab, and then click the Outbound Connection Pools tab.

The Outbound Connection Pool Configuration table is displayed. 6. Select the JNDI name for the Ftp Adapter instance that you wish to configure. For example, eisFtpFtpAdapter. 7. Configure the deployment descriptors listed in Table 4–10 : Table 4–10 JCA Properties for Oracle File and FTP Adapters Property Name Property Value useFtps Set the value to true. walletLocation Set it to the location of the PKCS12 file in the managed Oracle WebLogic Server instance: scratchuserprivatemykeyz.p12. walletPassword Set the value to the export password generated in Step 4 of Section 4.4.3.3.4, Converting the Server Key From PEM to PKCS12 Format. keyStoreProviderName Set the value to sun.security.provider.Sun keystoreType Set the value to PKCS12