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: SFTPHost.com on port 22. Exception message is: Session.connect: java.security.InvalidKeyException: Key is too long for this algorithm
at com.boomi.connector.sftp.connection.SFTPConnection.connectSession(SFTPConnection.java: 139)
at com.boomi.connector.sftp.connection.SFTPConnection.<init>(SFTPConnection.java: 84)
at com.boomi.connector.sftp.SFTPSend.setup(SFTPSend.java: 74)
at com.boomi.connector.sftp.SFTPSend.send(SFTPSend.java: 47)

...

Caused by: com.jcraft.jsch.JSchException: Session.connect: java.security.InvalidKeyException: Key is too long for this algorithm
at com.jcraft.jsch.Session.connect(Session.java: 558)
at com.boomi.connector.sftp.connection.SFTPConnection.connectSession(SFTPConnection.java: 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.

Attachments

    Outcomes