SFTP Jobs fail with “InvalidAlgorithmParameterException” when using Java versions 8 or less or a non-default SFTP port.
search cancel

SFTP Jobs fail with “InvalidAlgorithmParameterException” when using Java versions 8 or less or a non-default SFTP port.

book

Article ID: 88008

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
Caused by: com.jcraft.jsch.JSchException: Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 4096 (inclusive)

The above exception occurs in the current versions of the FTP Agent (versions 3.1.5 HF1 and 4.0.1), and only happens when running SFTP jobs with a Java version less than 1.8 or using a non-default SFTP Port  (port other than port 22).
 

Environment

OS Version: N/A

Cause

Cause type:
Defect
Root Cause: There is a conflict with Java 8 and jsch0.1.53, which is used by the FTP agent.

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
RA FTP 4.0.2 - Available

Additional Information

Workaround :
Load the previous version of the FTP Agent (3.1.5).