You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2018/06/25 11:30:00 UTC

[jira] [Resolved] (TOMEE-2181) Problem with KeyStore.load after upgrading from 7.0.3 to 7.0.4

     [ https://issues.apache.org/jira/browse/TOMEE-2181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Romain Manni-Bucau resolved TOMEE-2181.
---------------------------------------
    Resolution: Workaround

> 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
>         Attachments: jaybird-full-2.2.11.jar, mysql-connector-java-5.1.40-bin.jar, tomee.xml
>
>
> 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)