Registring Agent for JBoss, I get the error "Unsupported algorithm, MD5, selected for FIPS140 mode: FIPS140"

Document ID : KB000006912
Last Modified Date : 14/02/2018
Show Technical Document Details

I'm trying to register the Agent for JBoss to the Policy Server, and the registration fails giving the following output :

[root@linux-U171282 bin]# ./ -i -u siteminder -p mypassword -hn myagent -hc myagent -cf COMPAT -o
Exception in thread "main" java.lang.ExceptionInInitializerError
 at javax.crypto.JceSecurity.loadPolicies(
 at javax.crypto.JceSecurity.setupJurisdictionPolicies(
 at javax.crypto.JceSecurity.access$000(
 at javax.crypto.JceSecurity$
 at Method)
 at javax.crypto.JceSecurity.<clinit>(
 at javax.crypto.Cipher.getInstance(
Caused by: java.lang.SecurityException: Framework jar verification can not be initialized
 at javax.crypto.JarVerifier.<clinit>(
 ... 15 more
Caused by: java.lang.SecurityException: Unsupported algorithm, MD5, selected for FIPS140 mode: FIPS140

How can I solve this problem ?

Agent for JBoss 12.52SP1CR06 with JDK 1.8.0_60 64bit;

In order to use the MD5 algorithm, you should configure the JDK to disable the FIPS140 encryption.


Edit the /opt/jdk1.8.0_60/jre/lib/security/ file to have the following configuration. Be sure the last line with com.rsa.cryptoj is set.