Posted By:
david_ng
Posted On:
Friday, November 23, 2001 02:50 AM
I am having problems installing IBM as a provider in a S390 machine. Hope that someone could give me some tips over this. I have tried putting IBMJCEfw.jar, IBMJCEProvider.jar, US_export_policy.jar and local_policy.jar is already in the /lib/ext directory and also classpath. The java.security file the following entries security.provider.1=com.ibm.security.provider.IBMJCE security.provider.2=sun.security.provider.Sun I have tried reversing the two and it still does not work. I have even tried adding IBMJCA. I note that unless I put Sun as the first provider, I get a null when I do a jarsigner --verify on my jar files. The following in my error printStack.... at sun.sec
More>>
I am having problems installing IBM as a provider in a S390 machine. Hope that someone could give me some tips over this.
I have tried putting IBMJCEfw.jar, IBMJCEProvider.jar, US_export_policy.jar and local_policy.jar is already in the /lib/ext directory and also classpath.
The java.security file the following entries
security.provider.1=com.ibm.security.provider.IBMJCE
security.provider.2=sun.security.provider.Sun
I have tried reversing the two and it still does not work. I have even tried adding IBMJCA.
I note that unless I put Sun as the first provider, I get a null when I do a jarsigner --verify on my jar files.
The following in my error printStack....
at sun.security.pkcs.PKCS7.getCertificate(PKCS7.java(Compiled Code))
at sun.security.pkcs.SignerInfo.getCertificate(SignerInfo.java:207)
at sun.security.pkcs.SignerInfo.verify(SignerInfo.java:333)
at sun.security.pkcs.PKCS7.verify(PKCS7.java:472)
at sun.security.pkcs.PKCS7.verify(PKCS7.java:489)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java(Compiled Code))
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:285)
at java.util.jar.JarVerifier.update(JarVerifier.java:198)
at java.util.jar.JarFile.initializeVerifier(JarFile.java(Compiled Code))
at sun.misc.Resource.getBytes(Resource.java(Compiled Code))
at sun.misc.Resource.getBytes(Resource.java(Compiled Code))
at sun.misc.Resource.getBytes(Resource.java(Compiled Code))
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$300(URLClassLoader.java:69)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:544)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:203)
at java.lang.ClassLoader.loadClass(ClassLoader.java:325)
at java.lang.ClassLoader.loadClass(ClassLoader.java:257)
at com.xxx.core.sec.CoreSec_BF.encrypt(CoreSec_BF.java:295)
at com.xxx.core.sec.CoreSec_Main.encryptSign(CoreSec_Main.java:154)
at FileEnc.encrypt(FileEnc.java:162)
at FileEnc.main(FileEnc.java:54)
The version of the jvm I have is
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build hm130-20010424 (JIT enabled: jitc))
Thank you for reading.
<<Less