web stats
java.security.InvalidAlgorithmParameterException - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2017, 09:55 AM
clarksss clarksss is offline
OBX.2 Kenobi
 
Join Date: Jul 2013
Posts: 75
clarksss is on a distinguished road
Question java.security.InvalidAlgorithmParameterException

I am getting this error: Session.connect: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) when trying to do a "Test Write" to an SFTP server in my File Writer Destination Channel

I have verified with filezilla that i can sftp to the remote server from my mirth server (has no issues) but when i do the "Test Write" from within Mirth Connect, it gives me that above error message.

My version of Java is 1.7 and supposedly Java 1.8 will resolve this. is there any other way without having to install Java 1.8?

I have tried a few suggestions from some google searches, but with no luck.
Seems that this specific to Mirth/java (my version is 3.4.1) as Filezilla connects to sftp server with no issues.

any ideas?
Thanks!

Last edited by clarksss; 04-20-2017 at 07:08 AM.
Reply With Quote
  #2  
Old 04-20-2017, 02:27 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 832
siddharth is on a distinguished road
Default

Though I never encountered this problem while using SFTP writer myself, SO says that it is related to Java version less than 8.

FileZilla must have patched this problem that is why it could work even with java 7, because it is a software designed for that purpose. So yeah, upgrading to Java 8 will solve your problems.
Reply With Quote
Reply

Tags
java security, prime size, sftp connection

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation