I'll try 7.0.5-SNAPSHOT and post the result

Thanks

2017-10-26 11:55 GMT-02:00 Adam Cornett <adam.corn...@gmail.com>:

> I also had some issues with SSL cert loading when testing out 7.0.4.  It
> looked to be an issue with Tomcat, 7.0.5-SNAPSHOT (using a newer Tomcat
> version) doesn't have this issue.
>
> On Thu, Oct 26, 2017 at 9:04 AM, Romain Manni-Bucau <rmannibu...@gmail.com
> >
> wrote:
>
> > Hi Felipe,
> >
> > did you do a diff between tomee/lib and your WEB-INF/lib? we have some
> > impacting changes in last release. Also what is the stack you get and
> > the calling code if you can share it.
> >
> > Romain Manni-Bucau
> > @rmannibucau |  Blog | Old Blog | Github | LinkedIn
> >
> >
> > 2017-10-26 14:57 GMT+02:00 Felipe Jaekel <fkjae...@gmail.com>:
> > > 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
> >
>
>
>
> --
> Adam Cornett
> adam.corn...@gmail.com
> (678) 296-1150
>

Reply via email to