java.security.InvalidKeyException

Hello,

I have a requirement to accept password encrypted excel files and open them in memory, and i am having issues opening Excel 2013 version files , returning below listed exception.


java.security.InvalidKeyException|Documentation


Is there any option in the code to set to use security jars from a different directory other than /jre/lib/security, because i am sharing the Websphere instance with other applications, which updating the jars on the JVM is not easy for me.

Thanks in advance.


Hi,


Thanks for your query.

Well, we don’t think it is possible (to set to use security JARs from a different directory other than e.g “/jre/lib/security”) because it is certain that the jvm should control the security by itself. For removing the security limit, we think it should have no downgrade influence for the running jvm.

Thank you.