Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Bouncycastle | JCE SecurityException

Avatar

Avatar
Validate 1
Level 2
mzrmultani
Level 2

Likes

0 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
mzrmultani
Level 2

Likes

0 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
mzrmultani
Level 2

26-11-2019

I am using bouncycastle dependencies for PGP Encryption. Exception in the error log:

To resolve following error, I did the following:
1. Update Security provider in java.security file.
2. Add bcprov jar in jre/etc folder.

I tried updating the sling.properties but it did not resolve the issue.

Do we need to do same for Production and other lower environments? OR is there any other way?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
Employee
WASIL
Employee

Likes

51 likes

Total Posts

386 posts

Correct Reply

51 solutions
Top badges earned
Boost 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Boost 50
Employee
WASIL
Employee

Likes

51 likes

Total Posts

386 posts

Correct Reply

51 solutions
Top badges earned
Boost 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
WASIL
Employee

26-11-2019

You need to install the bouncy castle jar[0](already an OSGI bundle) in /system/console/bundles and update the sling.properties as on page[1]

[0] PGP Encryption/Decryption in Java | Waiting for Wit

[1] AEM 6.0 Forms Help | Configuring Document Services

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 2
mzrmultani
Level 2

Likes

0 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
mzrmultani
Level 2

Likes

0 likes

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
mzrmultani
Level 2

26-11-2019

I tried the same thing before, maybe missed something. It is working now.
Thanks