Change to the directory containing the agentadmin file:
PolicyAgent-base/bin
Create a backup copy of agentadmin file.
This file is either the agentadmin script or, for Windows systems, the agentadmin.bat file.
Edit the agentadmin file accordingly.
Locate the last line of the agentadmin script.
This line starts with the following string: $JAVA_VM -classpath ...
Add the following two properties between the string $JAVA_VM and the string -classpath:
-DamCryptoDescriptor.provider=IBMJCE -DamKeyGenDescriptor.provider=IBMJCE
For example, after editing the final line of the script, it appears as follows:
$JAVA_VM -DamCryptoDescriptor.provider=IBMJCE -DamKeyGenDescriptor.provider=IBMJCE -classpath $AGENT_CLASSPATH com.sun.identity.agents.tools.launch.AgentAdminLauncher $*