Hi, I have a webapp where the user can upload a PFX file to digitally sign PDF files. After upgrading from 7.0.2 to 7.0.4 I'm getting this exception:
java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: pad block corrupted First I tough it was something related to the upload process, but even after pointing to a local PFX file and hardcoding the password I still get this exception on 7.0.4. ks = KeyStore.getInstance(KeyStore.getDefaultType()); ks.load(new FileInputStream("/home/fjaekel/Desktop/anima.pfx"), "anima".toCharArray()); Debugging on both servers the KeyStore provider is *SUN version 1.8* and the type is *jks*. Tested with OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode) and Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode). Any ideias? Thanks