Configuring Oracle FTP Adapter for Public Key Authentication Configuring OpenSSH for Public-Key Authentication

4-92 Oracle Fusion Middleware Users Guide for Technology Adapters

4.4.4.3.4 Configuring Oracle FTP Adapter for Public Key Authentication with OpenSSH Running

Inside a Firewall To set up the Oracle FTP Adapter for public key authentication, you must specify the values of the parameters listed in Table 4–11 in the deployment descriptor. Ensure that the authenticationType parameter is set to publickey and the transportProvider parameter is set to socket. The privateKeyFile parameters should contain the location of the private key file. A sample list of public key authentication properties and their values is shown in Table 4–13 .

4.4.4.3.5 Configuring Oracle FTP Adapter for Public Key Authentication with OpenSSH Running

Outside a Firewall Perform the following steps to set up the Oracle FTP Adapter for public key authentication when OpenSSH is running outside the firewall:

1. In the deployment descriptor for Oracle FTP Adapter, you must specify the values

of the properties listed in Table 4–11 in the deployment descriptor for Oracle FTP Adapter. Ensure that the authenticationType property is set to publickey and the transportProvider property is set to HTTP. The privateKeyFile property contains the location of the private key file.

2. In the deployment descriptor for Oracle FTP Adapter, also specify the following

proxy-related properties: ■ proxyHost: The name of the proxy host. ■ proxyPort: The port number of the proxy. ■ proxyUsername: The user name for the proxy. ■ proxyPassword: The password for the proxy. ■ useProxy: Specify true to use proxy. A sample list with public key authentication properties and proxy properties is shown in Table 4–14 . Table 4–13 Sample SFTP Properties and Values Property Value useSftp true authenticationType publickey preferredKey ExchangeAlgorithm diffie-hellman-group1-sha1 preferred CompressionAlgorithm none preferred DataIntegrityAlgorithm hmac-md5 preferredPKIAlgorithm ssh-rsa privateKeyFile C:\my-secured-folder\id_rsa preferredCipherSuite blowfish-cbc transportProvider socket Oracle JCA Adapter for FilesFTP 4-93

4.4.5 Configuring Oracle FTP Adapter for HTTP Proxy

The Oracle FTP Adapter provides proxy support for HTTP proxy only. The HTTP proxy support is available in the following two modes, plain FTP mode and SFTP mode. This section explains how to configure the Oracle FTP Adapter for running in plain FTP mode and SFTP mode. It contains following sections: ■ Section 4.4.5.1, Configuring for Plain FTP Mode ■ Section 4.4.5.2, Configuring for SFTP Mode

4.4.5.1 Configuring for Plain FTP Mode

For running the Oracle FTP Adapter in plain FTP mode, you must specify the value of certain parameters in the Oracle FTP Adapter deployment descriptor. Table 4–15 lists the properties that you must modify. Table 4–14 Sample SFTP Properties and Values Property Value proxyHost proxy.host.com proxyPort 80 proxyUsername anonymous proxyPassword tigerscott.com useProxy true useSftp true authenticationType publickey preferredKey ExchangeAlgorithm diffie-hellman-group1-sha1 preferred CompressionAlgorithm none preferred DataIntegrityAlgorithm hmac-md5 preferredPKIAlgorithm ssh-rsa privateKeyFile C:\my-secured-folder\id_rsa preferredCipherSuite blowfish-cbc transportProvider HTTP Table 4–15 Plain FTP Mode Properties Property Description host The remote FTP server name. port The FTP control port number. username The FTP user name. password The FTP password. proxyHost The proxy host name. proxyPort The proxy port number. proxyUsername The proxy user name. proxyPassword The proxy password.