Felipe Jaekel created TOMEE-2181:
------------------------------------

             Summary: 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


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)

Reply via email to