If your output directory is located on a secure FTP server, you can generate a public or private key for authentication by using the foundation.jar file:
java -classpath JARS_LOCATION/foundation.jar;JARS_LOCATION/jsch-0.1.41.jar com.brio.one.utilities.SFTPKeyGen ALGORITM PUBLIC_FILE PRIVATE_FILE
where:
JARS_LOCATION—Location of required foundation.jar, jsch-0.1.41.jar files. By default, the files are located in EPM_ORACLE_HOME/common/raframeworkrt/11.1.2.0/lib.
com.brio.one.utilities.SFTPKeyGen—Name of the java class
ALGORITM—Required algorithm for key generation. Valid values are rsa and dsa.
PUBLIC_FILE—Location (path plus name without extension) of the public key. Public keys are generated with a.”pub” extension.
PRIVATE_FILE— Location (path plus name without extension) of the private key. Private keys are generated without any extension.
For example:
java –classpath D:/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/foundation.jar;D:/Talleyrand/Oracle/Middleware/EPMSystem11R1/common/raframeworkrt/11.1.2.0/lib/jsch-0.1.41.jar com.brio.one.utilities.SFTPKeyGen rsa D:/keys/public D:/keys/private