You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Felipe Jaekel (JIRA)" <ji...@apache.org> on 2018/03/27 13:16:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16415590#comment-16415590 ] 

Felipe Jaekel commented on TOMEE-2181:
--------------------------------------

Code work as expected with version 7.0.5-20180327.041727-169-plus

> 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: [https://github.com/fkjaekel/KeyStoreLoad.git|http://example.com]
>  
> Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)