The problem still exists even though unlimited key strength JCE jars are installed into <java_home>/jre/lib/security folder.
Can someone please help? T.W. wrote: > > Hi, > > We seem to have problem with the new certificate that we have currently > acquired. The program was working fine with the old certificate in which > the only difference that I could tell is the key size. The old one is on > 1024 bit while the new certificate is on 2048 bit. > > We tried both wss4j-1.1 and also wss4j-1.5.3 versions but still got the > same result. > > org.apache.ws.security.WSSecurityException: General security error > (Unexpected number of X509Data: for decryption (KeyId)) > > After tracing the WSS4J code, the problem is with the > getAliasForX509Cert(byte[] skiBytes) function in which a null alias was > returned. If we change it to return the correct alias name in the > keystore, everything works as normal. > > Any comments? > -- View this message in context: http://www.nabble.com/Problem-with-getAliasForX509Cert%28byte---skiBytes%29-tf4822652.html#a14012901 Sent from the WSS4J mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]