Chris, I guess a wrong password or a wrong provider. AFAIK the Sun provider (security provider) does not support PKCS#12, Bouncycastel does.
According to the trace you are using the Sun provider... also you may check the password. Regards, Werner csj wrote: > I'm having problems getting wss4j working with my own keystores, > everything seems to work with the packaged sample keystore x509.PFX.MSFT > but when I replace it with my own .p12 file and replace all references to > the x509.PFX.MSFT with my .p12 in client_deploy.wsdd, crypto.properties, > and PWCallback.java I get the following.. > > java.io.IOException: failed to decrypt safe contents entry: > javax.crypto.BadPaddingException: Given final block not properly padded > at > com.sun.net.ssl.internal.ssl.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1275) > at java.security.KeyStore.load(KeyStore.java:1150) > > I have used this same p12 for signing in other applications. > > Thanks > ..Chris > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
