Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to encrypt BIX user password for command line process

SA-31100

Summary



Developers are working on encryption for the BIX user password for the BIX command line process.

They have tried the following, but it threw an error:

/your_directory/BIX/install/jdk/bin/java -classpath /your_directory/BIX/install/lib/prbootstrap.jar com.pega.pegarules.pub.PassGen "password"


Error Messages



Exception in thread "main" java.lang.NoClassDefFoundError: com/pega/pegarules/boot/internal/extbridge/AppServerBaseLogger
at com.pega.pegarules.internal.bootstrap.PRBootstrapDataSource.<clinxx>(PRBootstrapDataSource.java:141)
at com.pega.pegarules.pub.PassGen.main(PassGen.java:44)


Steps to Reproduce



Attempt to encrypt items for BIX command line process.


Root Cause



A software use or operation error. A keyring file was not created before attempting to encrypt the BIX user password.

Resolution



This PDN article provides instructions on how to perform different encryption tasks: https://pdn.pega.com/how-encrypt-passwords-properties-and-blobs

First, a keyring file will need to be generated, as discussed in the "Generating encrypted passwords with KeyringImpl for pegarules.keyring, specified in the prconfig.xml file" section.

After, the runPega script, found in the scripts directory of the distribution media, can be used to encrypt the user credentials as discussed in the "Specifying PRPC user credentials for rule resolution (BIX example)" section.

Published December 9, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us