Hi,

I have generated PKCS12 files using openSSL pkcs12.  I am now trying to
access these files programmatically through Java
KeyStore and am getting (in Java 1.4):

java.security.UnrecoverableKeyException: Could not perform unpadding:
invalid pad byte.
        at
com.sun.net.ssl.internal.ssl.PKCS12KeyStore.engineGetKey(DashoA6275)
        at java.security.KeyStore.getKey(KeyStore.java:289)

The keytool from the JDK 1.4 fails in a similar way.

Is this a known incompatibility?  Which side is not adhering to the PKCS12
spec?

Thanks.

   Martin Schulz



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to