Re: JCE cannot authenticate the provider BC - KeyStore
David Hook <dgh-rTAZ0PM/[email protected]> Tue, 16 Jul 2019 11:27:18 +1000
| Newsgroups | gmane.comp.encryption.bouncy-castle.devel |
|---|---|
| Message-ID | <[email protected]> |
It's due to the native signature support in 1.6/1.7 See https://github.com/bcgit/bc-java/issues/557 For instructions - it was for Oracle 1.7 but I suspect it's the same issue. This should allow you to upgrade to 1.62. Please note the comments about what is needed to be able to keep upgrading. Regards, David On 16/7/19 5:57 am, luizurias wrote: > Hello, > > After i updated BC from 1.60 to 1.61 (occurs in 1.62 too) i am getting this > error. It only occurs with KeyStore, when i use the BC provider for others > operations (such as Cipher, etc..) i dont get this error. And in version > 1.60 works fine. > > I already tried to add the bc-*.jar in the jre/lib/ext but the error > continues > > Of course this dont happen when i use OpenJDK. I am using Oracle JDK 1.6_45. > > Has anyone ever had anything like it or know what is going on? > > Caused by: java.io.IOException: error constructing MAC: > java.lang.SecurityException: JCE cannot authenticate the provider BC > at > org.bouncycastle.jcajce.provider.keystore.pkcs12.PKCS12KeyStoreSpi.engineLoad(Unknown > Source) > at java.security.KeyStore.load(Unknown Source) > > > > -- > Sent from: http://bouncy-castle.1462172.n4.nabble.com/Bouncy-Castle-Dev-f1462173.html > >