IBM Support

Installing a FIPS agent results in "java.lang.RuntimeException: OpenJCEPlusFIPS.FIPS140-3-Weakly-Enforced is not present in the java.security file"

Troubleshooting


Problem

When installing a FIPS agent using IBM Semeru, you receive an error:
$ ./install.agent.sh –fips.semeru
java.lang.RuntimeException: OpenJCEPlusFIPS.FIPS140-3-Weakly-Enforced is not present in the java.security file.
    at java.base/openj9.internal.security.RestrictedSecurity.printStackTraceAndExit(RestrictedSecurity.java:572)
    at java.base/openj9.internal.security.RestrictedSecurity.getProfileID(RestrictedSecurity.java:303)
    at java.base/openj9.internal.security.RestrictedSecurity.configure(RestrictedSecurity.java:388)
    at java.base/java.security.Security.initialize(Security.java:146)
    at java.base/java.security.Security.lambda$static$0(Security.java:96)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:692)
    at java.base/java.security.Security.<clinit>(Security.java:95)
    at java.base/sun.security.util.SecurityProperties.getOverridableProperty(SecurityProperties.java:57)
    at java.base/sun.security.util.SecurityProperties.privilegedGetOverridable(SecurityProperties.java:48)
    at java.base/sun.security.util.SecurityProperties.includedInExceptions(SecurityProperties.java:72)
    at java.base/sun.security.util.SecurityProperties.<clinit>(SecurityProperties.java:36)
    at java.base/sun.security.util.FilePermCompat.<clinit>(FilePermCompat.java:43)
    at java.base/java.io.FilePermission.init(FilePermission.java:319)
    at java.base/java.io.FilePermission.<init>(FilePermission.java:490)
    at java.base/sun.net.www.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:217)
    at java.base/java.net.URLClassLoader.getPermissions(URLClassLoader.java:928)
    at java.base/java.security.SecureClassLoader$1.apply(SecureClassLoader.java:227)
    at java.base/java.security.SecureClassLoader$1.apply(SecureClassLoader.java:222)
    at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1716)
    at java.base/java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:222)
    at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
    at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:657)
    at java.base/java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1861)
    at java.base/java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1046)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:784)
    at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:572)
    at java.base/java.lang.ClassLoader.loadClassHelper(ClassLoader.java:1204)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1119)
    at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1102)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:282)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSNZ6H","label":"IBM DevOps Deploy"},"ARM Category":[{"code":"a8m50000000CenVAAS","label":"UrbanCode Deploy-\u003EAgents-\u003EInstall"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.1.1"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
11 April 2025

UID

ibm16980403