SAP Knowledge Base Article - Public

2361271 - SFTP Connector Error in Boomi: Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)

Symptom

Boomi process fails due to SFTP connector issue with below error:

Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 2048 (inclusive)

Environment

Boomi

Cause

  • For Java version lower than 8, there is a prime limitation of 1024 which is why this error is being received when a host certificate of larger size is being passed
  • This is a Java limitation with prime size, not key length
  • Boomi supports the industry standard of 2048 key length, but prime is different

Resolution

Check your Java version:

  1. If the Java version is lower than 8, upgrade to Java version 8 because the bug has been fixed on this version
  2. Restart the atom server after upgrade and test the process execution again

Keywords

Boomi Connector Error InvalidAlgorithmParameterException   , KBA , LOD-SF-INT , Integrations , LOD-SF-INT-BPI , Dell & Boomi Infrastructure , Problem

Product

SAP SuccessFactors HXM Core all versions