Key is too long for this algorithm

Document created by Terese_Baker Employee on Jan 14, 2016Last modified by ruchika_yadav on Mar 1, 2016
Version 2Show Document
  • View in full screen mode
com.boomi.connector.ConnectorException: Failed to connect to host: on port 22. Exception message is: Session.connect: Key is too long for this algorithm
at com.boomi.connector.sftp.connection.SFTPConnection.connectSession( 139)
at com.boomi.connector.sftp.connection.SFTPConnection.<init>( 84)
at com.boomi.connector.sftp.SFTPSend.setup( 74)
at com.boomi.connector.sftp.SFTPSend.send( 47)


Caused by: com.jcraft.jsch.JSchException: Session.connect: Key is too long for this algorithm
at com.jcraft.jsch.Session.connect( 558)
at com.boomi.connector.sftp.connection.SFTPConnection.connectSession( 137)

Older Java 8 versions can get this error when connecting to SFTP servers that use SHAXXXWithDSA signatures.
This error is fixed in Java versions 8u45 and higher. The fix was to remove the key size limits for all SHAXXXWithDSA signatures.

Please upgrade to the current Java version on the atom receiving this error. This link is for the Oracle Java Downloads page.