Setting Up the Oracle FTP Adapter

Oracle JCA Adapter for FilesFTP 4-83 ■ Section 4.4.3.3.5, Configuring Oracle FTP Adapter Deployment Descriptor to Use the New Key

4.4.3.3.1 Installing OpenSSL

OpenSSL is an open source implementation of the SSL protocol. OpenSSL implements basic cryptographic functions and provides utility functions. Perform the following steps to install and configure OpenSSL on the Windows host to be used as the FTP server. 1. Go to the following URL: http:www.slproweb.comproductsWin32OpenSSL.html 2. Download and install Visual C++ 2008 Redistributables. 3. Download and install Win32 OpenSSL v0.9.8k Light.

4.4.3.3.2 Generating OpenSSL Server Key and Certificate

To create the server key and certificate files, you must perform the following steps: 1. Open the command prompt and browse to the OpenSSL\bin directory. 2. Run the following command: openssl req -new -x509 -keyout mykey.pem -out mycert.pem -days 365 A sample command output is as follows: C:\OpenSSL\binopenssl req -new -x509 -keyout mykey.pem -out mycert.pem -days 365 Loading screen into random state - done Generating a 1024 bit RSA private key ..........++++++ .......++++++ writing new private key to mykey.pem Enter PEM pass phrase: Verifying - Enter PEM pass phrase: ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter ., the field will be left blank. ----- Country Name 2 letter code [AU]:US State or Province Name full name [Some-State]:CA Locality Name eg, city []:Belmont Organization Name eg, company [Internet Widgits Pty Ltd]:Test Organizational Unit Name eg, section []:Test Common Name eg, YOUR name []:Test test Email Address []:testtest.com 3. Enter a PEM pass phrase when prompted. 4. Re-enter PEM pass phrase entered in step 3 for verification. 5. Enter the requested details. The server key mykey.pem and certificate mycert.pem are generated in the OpenSSL\bin directory.