bouncycastle + JBoss AS7: JCE cannot authenticate the provider BC

后端 未结 5 577
一向
一向 2020-12-05 00:30

I use BouncyCastle for encryption in my application. When I run it standalone, everything works fine. However, if I put it in the webapp and deploy on JBoss server, I get a

5条回答
  •  春和景丽
    2020-12-05 01:29

    As I put in some other thread it can be also added programmatically by putting the line:

    Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());

    Source: jce cannot authenticate the provider bc

提交回复
热议问题