| Author |
JCE error on IHS 2.0.47 Key Management Utility
|
|
| Robert Harvey 2004-04-20, 10:33 pm |
| When I try to start the Key Management Utility on IHS 2.0.47 (Windows XP
or W2K), the program aborts with the message "The Java Cryptographic
Extension (JCE) files were not found. Please check that the JCE files
have been installed in the correct directory."
Can anyone suggest which JCE files need to be installed and where? Apart
from IHS2.0.47 I have installed SUN JRE 1.4.2 and set java_home to point
to this directory.
Thanks.
| |
| jyidiego 2004-04-22, 9:33 pm |
| You need to add 4 files into your SUN JRE 1.4.2 setup. In the ${JAVA INSTALLATION DIRECTORY}/lib/ext add the following files:
ibmjceprovider.jar
ibmpkcs.jar
ibmpkcs11.jar
ibmjcefw.jar
All of these files should be inside GSKit Installation:
${GSKIT DIRECTORY}/classes/jre/lib/ext
Finally you need to register IBM as a provider. To do this edit the java.security file in ${JAVA INSTALLATION DIRECTORY}/lib/security
add these lines to the appropriate place:
security.provider.6=com.ibm.spi.IBMCMSProvider
security.provider.7=com.ibm.crypto.provider.IBMJCE
This was installed on a Sun box, but I think the same principals apply. Hope this helps. :-)
jyidiego
| |
| kingslea 2004-04-23, 9:33 am |
| Thanks, I had to do the following on W2K.
In the C:\j2sdk1.4.2_02\jre\lib\ext add the following files:
ibmjceprovider.jar
ibmpkcs.jar
ibmpkcs11.jar
ibmjcefw.jar
All of these files should be inside GSKit Installation:
C:\Program Files\ibm\gsk7\classes\jre\lib\ext
Finally you need to register IBM as a provider. To do this edit the java.security file in C:\j2sdk1.4.2_02\jre\lib\security\java.security add these lines to the appropriate place:
security.provider.6=com.ibm.spi.IBMCMSProvider
security.provider.7=com.ibm.crypto.provider.IBMJCE
Seems to work fine now. I didn't have these problems with gsk5.
|
|
|
|