Support Article
Errors occur when uploading the Java KeyStore file
SA-78045
Summary
Errors occur when uploading the Java KeyStore (JKS) file to the Keystore rule.
Error Messages
""Failed to compile com.pegarules.generated.activity.ra_action_validate....................................pzInsKey=RULE-OBJ-ACTIVITY DATA-ADMIN-SECURITY-KEYSTORE-VALIDATE".....
com.pega.pegarules.pub.generator.FirstUseAssemblerException: Failed to compile generated Java com.pegarules.generated.activity.ra_action_validate_dc02df6ae9f918525a5dabe929e696a2: ---------
ERROR in com/pegarules/generated/activity/ra_action_validate_dc02df6ae9f918525a5dabe929e696a2.java (at line 262)
java.security.Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
org.bouncycastle cannot be resolved to a type
Steps to Reproduce
Create a keystore instance and upload the JKS file.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Apply HFix-52628.Published August 15, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.