[ https://issues.apache.org/jira/browse/TOMEE-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16415645#comment-16415645 ]
Romain Manni-Bucau commented on TOMEE-2181: ------------------------------------------- Tested the sample, works fine with tomee 7.0.4 > Problem with KeyStore.load after upgrading from 7.0.3 to 7.0.4 > -------------------------------------------------------------- > > Key: TOMEE-2181 > URL: https://issues.apache.org/jira/browse/TOMEE-2181 > Project: TomEE > Issue Type: Bug > Components: TomEE Core Server > Affects Versions: 7.0.4 > Reporter: Felipe Jaekel > Priority: Major > > I have a webapp where users can upload a PKCS12 file to digital sign PDF > files. > > After I upgraded from 7.0.3 to 7.0.4, when I try to load the PKCS12 file I'm > getting a _java.security.UnrecoverableKeyException: failed to decrypt safe > contents entry: javax.crypto.BadPaddingException: pad block corrupted_ > > This problem doesn't happen with a plain Tomcat 8.5.20 install, so do I need > additional config for TomEE 7.0.4 or is it a bug? > > Sample project to reproduce the issue: > [github|[https://github.com/fkjaekel/KeyStoreLoad.git|http://example.com/]] > Thanks -- This message was sent by Atlassian JIRA (v7.6.3#76005)