Highlighted
Honored Contributor.
Honored Contributor.
73 views

Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64

Hi,

I am using the /Base [1.10.0]/Library/Operations/Remote Command Execution/SSH/v2.0/SSH Shell to execute some commands on several remote hosts.

The issue is that with some hosts i am receiving the following error:

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

Couls someone tell me the cause of this issue please .

Regards;

0 Likes
3 Replies
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple o

What are your inputs for AllowedCiphers? 

What version of OO are you running? 

Highlighted
Honored Contributor.
Honored Contributor.

Re: Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple o

I am not using the AllowedCiphers input? is it mandatory. ? which values it takes ?

Thanks a lot

0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple o

 it is not mandatory but it could be utilized for an environment where only explicit ciphers are allowed. you can get a list of allowed ciphers from your Linux team and compare those to the available ciphers for your JRE. If you're running a varied version of the JVM from what was included in the release there is a difference in the JVM security model that could be causing you some issue. 

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.