Installing and Configuring vsftpd

Oracle JCA Adapter for FilesFTP 4-81 local_enable=YES write_enable=YES anon_upload_enable=YES anon_mkdir_write_enable=YES anon_other_write_enable=YES chown_uploads=YES chown_username=ftp Security anon_world_readable_only=NO allow_anon_ssl=YES ssl_enable=YES connect_from_port_20=YES hide_ids=YES pasv_min_port=50000 pasv_max_port=60000 Features ftpd_banner=Welcome to the FTP Service xferlog_enable=YES ls_recurse_enable=NO ascii_download_enable=NO async_abor_enable=YES Performance one_process_model=NO idle_session_timeout=120 data_connection_timeout=300 accept_timeout=60 connect_timeout=60 anon_max_rate=50000 10. Run the following commands: mkdir varftp useradd -d varftp ftp chown root varftp chmod og-w varftp mkdir usrshareempty mkdir usrsharessl mkdir usrsharesslcerts 11. Run the following command: openssl req -x509 -nodes -newkey rsa:1024 -keyout usrsharesslcertsvsftpd.pem -out usrsharesslcertsvsftpd.pem 12. Run the vsftpd daemon from the vsftpd-2.0.5 directory: .vsftpd

4.4.3.2.3 Creating PKCS12 Certificates and Keyst

You can manage and edit security credentials by creating PKCS12 certificates and keys. Note: Copies of the vsftpd.conf file appear in several locations in the vsftpd-2.0.5 directory structure. If you use one of those files to create the vsftpd.conf file in the etc directory, then ensure that it only includes the parameters and settings described in Step 9. 4-82 Oracle Fusion Middleware Users Guide for Technology Adapters 1. Export the vsftpd.pem from Step 11 of Section 4.4.3.2.2, Installing and Configuring vsftpd into PKCS12 format: openssl pkcs12 -export -out vsfptd.p12 -in vsfptd.pem -inkey vsftpd.pem

4.4.3.2.4 Setting Up the Oracle FTP Adapter

Perform the following tasks to set up the Oracle FTP Adapter: 1. On your Solaris or Linux host, run the following commands: mkdir varftpinDir mkdir varftpoutDir chmod 777 varftpinDir varftpoutDir 2. Specify the FTP connection parameters in the Oracle FTP Adapter deployment descriptor from the Oracle WebLogic Server Administration Console. You have now installed and configured secure FTP and are ready to use this feature with the Oracle FTP Adapter.

4.4.3.3 Installing and Configuring FTP Over SSL on Windows

The FTPS feature is certified on FileZilla FTP server with OpenSSL. You must follow the procedure in the following subsections for installing and configuring OpenSSL for FileZilla on Windows: ■ Section 4.4.3.3.1, Installing OpenSSL ■ Section 4.4.3.3.2, Generating OpenSSL Server Key and Certificate ■ Section 4.4.3.3.3, Importing the Server Key and Certificate Into FileZilla Server ■ Section 4.4.3.3.4, Converting the Server Key From PEM to PKCS12 Format Where... Is... useFtps Set to True. This setting is required to use FTP over SSL. The default is False. walletLocation The location of the PKCS12 file created in Section 4.4.3.2.3, Creating PKCS12 Certificates and Keyst.